| Index: net/http/http_auth_handler_digest.cc
|
| diff --git a/net/http/http_auth_handler_digest.cc b/net/http/http_auth_handler_digest.cc
|
| index a5f96b1e25ffa0feac0aa5706cb0288c81894312..78c4a32ea0f298b1a648b24b0defd1bf923043d4 100644
|
| --- a/net/http/http_auth_handler_digest.cc
|
| +++ b/net/http/http_auth_handler_digest.cc
|
| @@ -113,7 +113,7 @@ HttpAuth::AuthorizationResult HttpAuthHandlerDigest::HandleAnotherChallenge(
|
| // to differentiate between stale and rejected responses.
|
| // Note that the state of the current handler is not mutated - this way if
|
| // there is a rejection the realm hasn't changed.
|
| - if (!base::LowerCaseEqualsASCII(challenge->scheme(), "digest"))
|
| + if (!base::LowerCaseEqualsASCII(challenge->scheme(), kDigestAuthScheme))
|
| return HttpAuth::AUTHORIZATION_RESULT_INVALID;
|
|
|
| HttpUtil::NameValuePairsIterator parameters = challenge->param_pairs();
|
| @@ -199,7 +199,7 @@ bool HttpAuthHandlerDigest::ParseChallenge(
|
| realm_ = original_realm_ = nonce_ = domain_ = opaque_ = std::string();
|
|
|
| // FAIL -- Couldn't match auth-scheme.
|
| - if (!base::LowerCaseEqualsASCII(challenge->scheme(), "digest"))
|
| + if (!base::LowerCaseEqualsASCII(challenge->scheme(), kDigestAuthScheme))
|
| return false;
|
|
|
| HttpUtil::NameValuePairsIterator parameters = challenge->param_pairs();
|
|
|