diff --git a/libavformat/httpauth.c b/libavformat/httpauth.c
index 18cf36b..2d42ab2 100644
|
a
|
b
|
static void choose_qop(char *qop, int size)
|
| 90 | 90 | void ff_http_auth_handle_header(HTTPAuthState *state, const char *key, |
| 91 | 91 | const char *value) |
| 92 | 92 | { |
| 93 | | if (!strcmp(key, "WWW-Authenticate") || !strcmp(key, "Proxy-Authenticate")) { |
| | 93 | if (!av_strcasecmp(key, "WWW-Authenticate") || !av_strcasecmp(key, "Proxy-Authenticate")) { |
| 94 | 94 | const char *p; |
| 95 | 95 | if (av_stristart(value, "Basic ", &p) && |
| 96 | 96 | state->auth_type <= HTTP_AUTH_BASIC) { |
| … |
… |
void ff_http_auth_handle_header(HTTPAuthState *state, const char *key,
|
| 112 | 112 | if (!av_strcasecmp(state->digest_params.stale, "true")) |
| 113 | 113 | state->stale = 1; |
| 114 | 114 | } |
| 115 | | } else if (!strcmp(key, "Authentication-Info")) { |
| | 115 | } else if (!av_strcasecmp(key, "Authentication-Info")) { |
| 116 | 116 | ff_parse_key_value(value, (ff_parse_key_val_cb) handle_digest_update, |
| 117 | 117 | state); |
| 118 | 118 | } |