mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-28 13:49:01 +08:00
Increase buffer size for cnonce
PUBLISHED_FROM=0dcb2aba0c00da6803227c775e2178230c195f5f
This commit is contained in:
parent
09dde636d2
commit
8f0374569e
@ -5928,7 +5928,7 @@ static int mg_http_check_digest_auth(struct http_message *hm,
|
||||
const char *auth_domain, FILE *fp) {
|
||||
struct mg_str *hdr;
|
||||
char buf[128], f_user[sizeof(buf)], f_ha1[sizeof(buf)], f_domain[sizeof(buf)];
|
||||
char user[50], cnonce[20], response[40], uri[200], qop[20], nc[20], nonce[30];
|
||||
char user[50], cnonce[33], response[40], uri[200], qop[20], nc[20], nonce[30];
|
||||
char expected_response[33];
|
||||
|
||||
/* Parse "Authorization:" header, fail fast on parse error */
|
||||
|
Loading…
Reference in New Issue
Block a user