summaryrefslogtreecommitdiffstats
path: root/tests/password_compat.phpt
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-09-13 11:47:54 +0200
committerRemi Collet <remi@php.net>2024-09-13 11:47:54 +0200
commit4d07d6bbb74e7ebe1f95cf2b89ae99aa35a9eeb2 (patch)
tree4c4528debd577ebc852eb62356825910b6d8352e /tests/password_compat.phpt
parent6ebefa0cbe885cd65bdf678c6e85d8b76db03e28 (diff)
rename constant from XPASS_CRYPT_ to CRYPT_PREFIX_
Diffstat (limited to 'tests/password_compat.phpt')
-rw-r--r--tests/password_compat.phpt2
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--