diff options
author | Remi Collet <remi@remirepo.net> | 2024-09-13 11:47:54 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-09-13 11:47:54 +0200 |
commit | 4d07d6bbb74e7ebe1f95cf2b89ae99aa35a9eeb2 (patch) | |
tree | 4c4528debd577ebc852eb62356825910b6d8352e /tests/password_compat.phpt | |
parent | 6ebefa0cbe885cd65bdf678c6e85d8b76db03e28 (diff) |
rename constant from XPASS_CRYPT_ to CRYPT_PREFIX_
Diffstat (limited to 'tests/password_compat.phpt')
-rw-r--r-- | tests/password_compat.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
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-- |