Lines Matching refs:challenges
672 http_auth_challenge_t *challenges[MAX_CHALLENGES]; member
682 cs->challenges[i] = NULL; in init_http_auth_challenges()
692 if (cs->challenges[i] != NULL) { in clean_http_auth_challenges()
693 clean_http_auth_challenge(cs->challenges[i]); in clean_http_auth_challenges()
694 free(cs->challenges[i]); in clean_http_auth_challenges()
777 cs->challenges[cs->count] = in http_parse_authenticate()
779 if (cs->challenges[cs->count] == NULL) { in http_parse_authenticate()
783 init_http_auth_challenge(cs->challenges[cs->count]); in http_parse_authenticate()
785 cs->challenges[cs->count]->scheme = HTTPAS_BASIC; in http_parse_authenticate()
787 cs->challenges[cs->count]->scheme = HTTPAS_DIGEST; in http_parse_authenticate()
789 cs->challenges[cs->count]->scheme = HTTPAS_UNKNOWN; in http_parse_authenticate()
816 cs->challenges[cs->count]->realm = in http_parse_authenticate()
819 cs->challenges[cs->count]->qop = in http_parse_authenticate()
822 cs->challenges[cs->count]->nonce = in http_parse_authenticate()
825 cs->challenges[cs->count]->opaque = in http_parse_authenticate()
828 cs->challenges[cs->count]->algo = in http_parse_authenticate()
831 cs->challenges[cs->count]->stale = in http_parse_authenticate()
1350 if (cs->challenges[i]->scheme == HTTPAS_DIGEST) in http_authorize()
1351 digest = cs->challenges[i]; in http_authorize()