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 3590b8e0800a03220d6add9c36da8cbc627866c9..eb03ad75b1e5e4e3525182e5730bb019d07df3b5 100644 |
--- a/net/http/http_auth_handler_digest.cc |
+++ b/net/http/http_auth_handler_digest.cc |
@@ -93,6 +93,7 @@ void HttpAuthHandlerDigest::Factory::set_nonce_generator( |
int HttpAuthHandlerDigest::Factory::CreateAuthHandler( |
HttpAuthChallengeTokenizer* challenge, |
HttpAuth::Target target, |
+ const SSLInfo& ssl_info, |
const GURL& origin, |
CreateReason reason, |
int digest_nonce_count, |
@@ -102,7 +103,8 @@ int HttpAuthHandlerDigest::Factory::CreateAuthHandler( |
// method and only constructing when valid. |
scoped_ptr<HttpAuthHandler> tmp_handler( |
new HttpAuthHandlerDigest(digest_nonce_count, nonce_generator_.get())); |
- if (!tmp_handler->InitFromChallenge(challenge, target, origin, net_log)) |
+ if (!tmp_handler->InitFromChallenge(challenge, target, ssl_info, origin, |
+ net_log)) |
return ERR_INVALID_RESPONSE; |
handler->swap(tmp_handler); |
return OK; |
@@ -135,7 +137,8 @@ HttpAuth::AuthorizationResult HttpAuthHandlerDigest::HandleAnotherChallenge( |
HttpAuth::AUTHORIZATION_RESULT_REJECT; |
} |
-bool HttpAuthHandlerDigest::Init(HttpAuthChallengeTokenizer* challenge) { |
+bool HttpAuthHandlerDigest::Init(HttpAuthChallengeTokenizer* challenge, |
+ const SSLInfo& ssl_info) { |
return ParseChallenge(challenge); |
} |