Lines Matching refs:challenges
671 http_auth_challenge_t *challenges[MAX_CHALLENGES]; member
681 cs->challenges[i] = NULL; in init_http_auth_challenges()
691 if (cs->challenges[i] != NULL) { in clean_http_auth_challenges()
692 clean_http_auth_challenge(cs->challenges[i]); in clean_http_auth_challenges()
693 free(cs->challenges[i]); in clean_http_auth_challenges()
776 cs->challenges[cs->count] = in http_parse_authenticate()
778 if (cs->challenges[cs->count] == NULL) { in http_parse_authenticate()
782 init_http_auth_challenge(cs->challenges[cs->count]); in http_parse_authenticate()
784 cs->challenges[cs->count]->scheme = HTTPAS_BASIC; in http_parse_authenticate()
786 cs->challenges[cs->count]->scheme = HTTPAS_DIGEST; in http_parse_authenticate()
788 cs->challenges[cs->count]->scheme = HTTPAS_UNKNOWN; in http_parse_authenticate()
815 cs->challenges[cs->count]->realm = in http_parse_authenticate()
818 cs->challenges[cs->count]->qop = in http_parse_authenticate()
821 cs->challenges[cs->count]->nonce = in http_parse_authenticate()
824 cs->challenges[cs->count]->opaque = in http_parse_authenticate()
827 cs->challenges[cs->count]->algo = in http_parse_authenticate()
830 cs->challenges[cs->count]->stale = in http_parse_authenticate()
1349 if (cs->challenges[i]->scheme == HTTPAS_DIGEST) in http_authorize()
1350 digest = cs->challenges[i]; in http_authorize()