Ticket #9127: test.patch
| File test.patch, 652 bytes (added by , 6 years ago) |
|---|
-
libavformat/httpauth.c
diff --git a/libavformat/httpauth.c b/libavformat/httpauth.c index 4f79c78edc..ef82c01d36 100644
a b void ff_http_auth_handle_header(HTTPAuthState *state, const char *key, 101 101 state); 102 102 } else if (av_stristart(value, "Digest ", &p) && 103 103 state->auth_type <= HTTP_AUTH_DIGEST) { 104 105 if (!strcmp(state->digest_params.algorithm, "MD5")) 106 return; 107 104 108 state->auth_type = HTTP_AUTH_DIGEST; 105 109 memset(&state->digest_params, 0, sizeof(DigestParams)); 106 110 state->realm[0] = 0;
