diff options
author | Remi Collet <remi@remirepo.net> | 2024-09-13 11:47:54 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-09-13 11:47:54 +0200 |
commit | 4d07d6bbb74e7ebe1f95cf2b89ae99aa35a9eeb2 (patch) | |
tree | 4c4528debd577ebc852eb62356825910b6d8352e /xpass.c | |
parent | 6ebefa0cbe885cd65bdf678c6e85d8b76db03e28 (diff) |
rename constant from XPASS_CRYPT_ to CRYPT_PREFIX_
Diffstat (limited to 'xpass.c')
-rw-r--r-- | xpass.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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)); } /* }}} */ |