summaryrefslogtreecommitdiffstats
path: root/net/http/http_auth_handler_ntlm_portable.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-18 16:54:58 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-18 16:54:58 +0000
commit0ad1d2d6eb6f1e4edff72dabb8e2b2f9ba051f88 (patch)
tree34d232d10e6415100d5b660317c23a14e157ba83 /net/http/http_auth_handler_ntlm_portable.cc
parentdac096590a0f00f124eb71b12ff6a32cee439fca (diff)
downloadchromium_src-0ad1d2d6eb6f1e4edff72dabb8e2b2f9ba051f88.zip
chromium_src-0ad1d2d6eb6f1e4edff72dabb8e2b2f9ba051f88.tar.gz
chromium_src-0ad1d2d6eb6f1e4edff72dabb8e2b2f9ba051f88.tar.bz2
base: Put md5.* into base namespace.
BUG=89274 TEST=None R=evan@chromium.org Review URL: http://codereview.chromium.org/7395021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92861 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_auth_handler_ntlm_portable.cc')
-rw-r--r--net/http/http_auth_handler_ntlm_portable.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/http/http_auth_handler_ntlm_portable.cc b/net/http/http_auth_handler_ntlm_portable.cc
index fac37c8..92b3e5b 100644
--- a/net/http/http_auth_handler_ntlm_portable.cc
+++ b/net/http/http_auth_handler_ntlm_portable.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -555,7 +555,7 @@ static int GenerateType3Msg(const string16& domain,
uint8 ntlm_hash[NTLM_HASH_LEN];
if (msg.flags & NTLM_NegotiateNTLM2Key) {
// compute NTLM2 session response
- MD5Digest session_hash;
+ base::MD5Digest session_hash;
uint8 temp[16];
memcpy(lm_resp, rand_8_bytes, 8);
@@ -563,7 +563,7 @@ static int GenerateType3Msg(const string16& domain,
memcpy(temp, msg.challenge, 8);
memcpy(temp + 8, lm_resp, 8);
- MD5Sum(temp, 16, &session_hash);
+ base::MD5Sum(temp, 16, &session_hash);
NTLM_Hash(password, ntlm_hash);
LM_Response(ntlm_hash, session_hash.a, ntlm_resp);