From 4d07d6bbb74e7ebe1f95cf2b89ae99aa35a9eeb2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 13 Sep 2024 11:47:54 +0200 Subject: rename constant from XPASS_CRYPT_ to CRYPT_PREFIX_ --- xpass.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'xpass.c') 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)); } /* }}} */ -- cgit