Lines Matching refs:challenges
670 http_auth_challenge_t *challenges[MAX_CHALLENGES]; member
680 cs->challenges[i] = NULL; in init_http_auth_challenges()
690 if (cs->challenges[i] != NULL) { in clean_http_auth_challenges()
691 clean_http_auth_challenge(cs->challenges[i]); in clean_http_auth_challenges()
692 free(cs->challenges[i]); in clean_http_auth_challenges()
775 cs->challenges[cs->count] = in http_parse_authenticate()
777 if (cs->challenges[cs->count] == NULL) { in http_parse_authenticate()
781 init_http_auth_challenge(cs->challenges[cs->count]); in http_parse_authenticate()
783 cs->challenges[cs->count]->scheme = HTTPAS_BASIC; in http_parse_authenticate()
785 cs->challenges[cs->count]->scheme = HTTPAS_DIGEST; in http_parse_authenticate()
787 cs->challenges[cs->count]->scheme = HTTPAS_UNKNOWN; in http_parse_authenticate()
814 cs->challenges[cs->count]->realm = in http_parse_authenticate()
817 cs->challenges[cs->count]->qop = in http_parse_authenticate()
820 cs->challenges[cs->count]->nonce = in http_parse_authenticate()
823 cs->challenges[cs->count]->opaque = in http_parse_authenticate()
826 cs->challenges[cs->count]->algo = in http_parse_authenticate()
829 cs->challenges[cs->count]->stale = in http_parse_authenticate()
1346 if (cs->challenges[i]->scheme == HTTPAS_DIGEST) in http_authorize()
1347 digest = cs->challenges[i]; in http_authorize()