Index: net/http/http_auth_handler_ntlm.cc |
diff --git a/net/http/http_auth_handler_ntlm.cc b/net/http/http_auth_handler_ntlm.cc |
index 0bf7260efad75e07d6a3d3a6f055d62244c9b34b..4873de4860cd86d042d01a9ecb567e7e5458b601 100644 |
--- a/net/http/http_auth_handler_ntlm.cc |
+++ b/net/http/http_auth_handler_ntlm.cc |
@@ -22,10 +22,7 @@ HttpAuth::AuthorizationResult HttpAuthHandlerNTLM::HandleAnotherChallenge( |
} |
bool HttpAuthHandlerNTLM::Init(HttpAuthChallengeTokenizer* tok) { |
- auth_scheme_ = HttpAuth::AUTH_SCHEME_NTLM; |
- score_ = 3; |
- properties_ = ENCRYPTS_IDENTITY | IS_CONNECTION_BASED; |
- |
+ auth_scheme_ = "ntlm"; |
return ParseChallenge(tok, true) == HttpAuth::AUTHORIZATION_RESULT_ACCEPT; |
} |
@@ -112,7 +109,7 @@ HttpAuth::AuthorizationResult HttpAuthHandlerNTLM::ParseChallenge( |
auth_data_.clear(); |
// Verify the challenge's auth-scheme. |
- if (!base::LowerCaseEqualsASCII(tok->scheme(), "ntlm")) |
+ if (!tok->SchemeIs("ntlm")) |
return HttpAuth::AUTHORIZATION_RESULT_INVALID; |
std::string base64_param = tok->base64_param(); |