Home
last modified time | relevance | path

Searched refs:userpw (Results 1 – 1 of 1) sorted by relevance

/lighttpd1.4/src/
H A Dmod_authn_dbi.c341 mod_authn_crypt_cmp (const char *reqpw, const char *userpw, unsigned long userpwlen) in mod_authn_crypt_cmp() argument
345 char *crypted = crypt(reqpw, userpw); in mod_authn_crypt_cmp()
347 int rc = (crypwlen == userpwlen) ? memcmp(crypted, userpw, crypwlen) : -1; in mod_authn_crypt_cmp()
368 char *crypted = crypt_r(reqpw, userpw, crypt_tmp_data); in mod_authn_crypt_cmp()
370 char *crypted = crypt(reqpw, userpw); in mod_authn_crypt_cmp()
373 int rc = (crypwlen == userpwlen) ? memcmp(crypted, userpw, crypwlen) : -1; in mod_authn_crypt_cmp()
390 mod_authn_dbi_password_cmp (const char *userpw, unsigned long userpwlen, http_auth_info_t * const a… in mod_authn_dbi_password_cmp() argument
393 if (userpwlen >= 3 && userpw[0] == '$') in mod_authn_dbi_password_cmp()
394 return mod_authn_crypt_cmp(reqpw, userpw, userpwlen); in mod_authn_dbi_password_cmp()
419 return (0 == li_hex2bin(pwbin, sizeof(pwbin), userpw, userpwlen)) in mod_authn_dbi_password_cmp()