From 4d07d6bbb74e7ebe1f95cf2b89ae99aa35a9eeb2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 13 Sep 2024 11:47:54 +0200 Subject: rename constant from XPASS_CRYPT_ to CRYPT_PREFIX_ --- tests/password_compat.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/password_compat.phpt') diff --git a/tests/password_compat.phpt b/tests/password_compat.phpt index 3dd6ad2..2571b02 100644 --- a/tests/password_compat.phpt +++ b/tests/password_compat.phpt @@ -9,7 +9,7 @@ $h = password_hash($secret, PASSWORD_BCRYPT); var_dump($h, password_verify($secret, $h), $h===crypt($secret, $h)); /* generate with crypt, check with both */ -$h = crypt($secret, crypt_gensalt(XPASS_CRYPT_BLOWFISH)); +$h = crypt($secret, crypt_gensalt(CRYPT_PREFIX_BLOWFISH)); var_dump($h, password_verify($secret, $h), $h===crypt($secret, $h)); ?> --EXPECTF-- -- cgit