MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / update_md5_strings

Function update_md5_strings

libavformat/httpauth.c:122–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120
121
122static void update_md5_strings(struct AVMD5 *md5ctx, ...)
123{
124 va_list vl;
125
126 va_start(vl, md5ctx);
127 while (1) {
128 const char* str = va_arg(vl, const char*);
129 if (!str)
130 break;
131 av_md5_update(md5ctx, str, strlen(str));
132 }
133 va_end(vl);
134}
135
136/* Generate a digest reply, according to RFC 2617. */
137static char *make_digest_auth(HTTPAuthState *state, const char *username,

Callers 1

make_digest_authFunction · 0.85

Calls 1

av_md5_updateFunction · 0.85

Tested by

no test coverage detected