summaryrefslogtreecommitdiffstats
path: root/tests/crypt_checksalt.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/crypt_checksalt.phpt
parent6ebefa0cbe885cd65bdf678c6e85d8b76db03e28 (diff)
rename constant from XPASS_CRYPT_ to CRYPT_PREFIX_
Diffstat (limited to 'tests/crypt_checksalt.phpt')
-rw-r--r--tests/crypt_checksalt.phpt2
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