summaryrefslogtreecommitdiffstats
path: root/xpass.c
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 /xpass.c
parent6ebefa0cbe885cd65bdf678c6e85d8b76db03e28 (diff)
rename constant from XPASS_CRYPT_ to CRYPT_PREFIX_
Diffstat (limited to 'xpass.c')
-rw-r--r--xpass.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xpass.c b/xpass.c
index cb16131..b37863e 100644
--- a/xpass.c
+++ b/xpass.c
@@ -190,14 +190,14 @@ PHP_FUNCTION(crypt_preferred_method)
/* {{{ Determine whether the user's passphrase should be re-hashed using the currently preferred hashing method */
PHP_FUNCTION(crypt_checksalt)
{
- char *prefix;
- size_t prefix_len;
+ char *salt;
+ size_t salt_len;
ZEND_PARSE_PARAMETERS_START(1, 1)
- Z_PARAM_STRING(prefix, prefix_len)
+ Z_PARAM_STRING(salt, salt_len)
ZEND_PARSE_PARAMETERS_END();
- RETURN_LONG(crypt_checksalt(prefix));
+ RETURN_LONG(crypt_checksalt(salt));
}
/* }}} */