summaryrefslogtreecommitdiffstats
path: root/tests/password_compat.phpt
diff options
context:
space:
mode:
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--