mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 1338876 - Read ww-auth properly. r=mcmanus
--HG-- extra : rebase_source : 61d54449f04d82ff58358315917558f276bba326
This commit is contained in:
parent
fee3eb484b
commit
fc793df53d
@ -566,8 +566,8 @@ nsHttpDigestAuth::ParseChallenge(const char * challenge,
|
||||
if (strlen(challenge) > 16000000) {
|
||||
return NS_ERROR_INVALID_ARG;
|
||||
}
|
||||
|
||||
const char *p = challenge + 7; // first 7 characters are "Digest "
|
||||
|
||||
const char *p = challenge + 6; // first 6 characters are "Digest"
|
||||
|
||||
*stale = false;
|
||||
*algorithm = ALGO_MD5; // default is MD5
|
||||
|
Loading…
Reference in New Issue
Block a user