Home
last modified time | relevance | path

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

/lighttpd1.4/src/
H A Dmod_auth.c1133 char userbuf[sizeof(ai->userbuf)]; in mod_auth_digest_get() local
1134 if (ai->userhash && ulen <= sizeof(userbuf)) { in mod_auth_digest_get()
1138 userbuf[i] = !light_isupper(s[i]) ? s[i] : (s[i] | 0x20); in mod_auth_digest_get()
1139 user = userbuf; in mod_auth_digest_get()
1153 if (__builtin_expect( (ae->ulen <= sizeof(ai->userbuf)), 1)) { in mod_auth_digest_get()
1155 ai->username = memcpy(ai->userbuf, ae->username, ae->ulen); in mod_auth_digest_get()
1164 if (ai->userhash && ulen <= sizeof(ai->userbuf)) in mod_auth_digest_get()
1165 ai->username = memcpy(ai->userbuf, userbuf, ulen); in mod_auth_digest_get()
1326 if (len > sizeof(ai->userbuf)) { in mod_auth_digest_validate_userstar()
1342 ai->username = memcpy(ai->userbuf, tb->ptr, len); in mod_auth_digest_validate_userstar()
H A Dmod_authn_dbi.c545 ai->username = ai->userbuf; in mod_authn_dbi_query()
546 if (len != DBI_LENGTH_ERROR && rpw && len <= sizeof(ai->userbuf) in mod_authn_dbi_query()
549 memcpy(ai->userbuf, rpw, (ai->ulen = len)); in mod_authn_dbi_query()
552 ai->userbuf[0] = '\0'; /* invalid username "\0" */ in mod_authn_dbi_query()
H A Dmod_auth_api.h70 char userbuf[256]; member
H A Dmod_authn_file.c249 && u_len <= sizeof(ai->userbuf)) { in mod_authn_file_htdigest_get_loop()
252 ai->username = memcpy(ai->userbuf, f_user, u_len); in mod_authn_file_htdigest_get_loop()