diff options
Diffstat (limited to 'tests/crypt_checksalt.phpt')
-rw-r--r-- | tests/crypt_checksalt.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/crypt_checksalt.phpt b/tests/crypt_checksalt.phpt index f34f585..0a0f6ee 100644 --- a/tests/crypt_checksalt.phpt +++ b/tests/crypt_checksalt.phpt @@ -3,7 +3,7 @@ Test crypt_checksalt --FILE-- <?php // salt with old algo is OK or LEGACY -$r = crypt_checksalt(crypt_gensalt(XPASS_CRYPT_STD_DES)); +$r = crypt_checksalt(crypt_gensalt(CRYPT_PREFIX_STD_DES)); var_dump($r === CRYPT_SALT_METHOD_LEGACY || $r === CRYPT_SALT_OK); // salt with default algo is OK |