summaryrefslogtreecommitdiffstats
path: root/net/base/dnssec_chain_verifier.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/dnssec_chain_verifier.cc')
-rw-r--r--net/base/dnssec_chain_verifier.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/base/dnssec_chain_verifier.cc b/net/base/dnssec_chain_verifier.cc
index a915686..e3eeee7 100644
--- a/net/base/dnssec_chain_verifier.cc
+++ b/net/base/dnssec_chain_verifier.cc
@@ -7,8 +7,8 @@
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "base/sha1.h"
-#include "base/sha2.h"
#include "base/string_util.h"
+#include "crypto/sha2.h"
#include "net/base/dns_util.h"
#include "net/base/dnssec_keyset.h"
@@ -516,7 +516,7 @@ bool DNSSECChainVerifier::DigestKey(base::StringPiece* out,
uint16 keyid,
uint8 algorithm) {
std::string temp;
- uint8 temp2[base::SHA256_LENGTH];
+ uint8 temp2[crypto::SHA256_LENGTH];
const uint8* digest;
unsigned digest_len;
@@ -527,7 +527,7 @@ bool DNSSECChainVerifier::DigestKey(base::StringPiece* out,
digest = reinterpret_cast<const uint8*>(temp.data());
digest_len = base::SHA1_LENGTH;
} else if (digest_type == kDNSSEC_SHA256) {
- base::SHA256HashString(input, temp2, sizeof(temp2));
+ crypto::SHA256HashString(input, temp2, sizeof(temp2));
digest = temp2;
digest_len = sizeof(temp2);
} else {