Home
last modified time | relevance | path

Searched refs:authstr (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavformat/
Dhttpauth.c150 char *authstr; in make_digest_auth() local
216 authstr = av_malloc(len); in make_digest_auth()
217 if (!authstr) in make_digest_auth()
219 snprintf(authstr, len, "Authorization: Digest "); in make_digest_auth()
222 av_strlcatf(authstr, len, "username=\"%s\"", username); in make_digest_auth()
223 av_strlcatf(authstr, len, ", realm=\"%s\"", state->realm); in make_digest_auth()
224 av_strlcatf(authstr, len, ", nonce=\"%s\"", digest->nonce); in make_digest_auth()
225 av_strlcatf(authstr, len, ", uri=\"%s\"", uri); in make_digest_auth()
226 av_strlcatf(authstr, len, ", response=\"%s\"", response); in make_digest_auth()
230 av_strlcatf(authstr, len, ", algorithm=\"%s\"", digest->algorithm); in make_digest_auth()
[all …]
Dhttp.c1284 char *authstr = NULL, *proxyauthstr = NULL; in http_connect() local
1306 authstr = ff_http_auth_create_response(&s->auth_state, auth, in http_connect()
1379 if (authstr) in http_connect()
1380 av_bprintf(&request, "%s", authstr); in http_connect()
1432 av_freep(&authstr); in http_connect()
1914 char *authstr; in http_proxy_open() local
1938 authstr = ff_http_auth_create_response(&s->proxy_auth_state, auth, in http_proxy_open()
1948 authstr ? "Proxy-" : "", authstr ? authstr : ""); in http_proxy_open()
1949 av_freep(&authstr); in http_proxy_open()