| Index: net/base/dnssec_chain_verifier.cc
|
| ===================================================================
|
| --- net/base/dnssec_chain_verifier.cc (revision 80572)
|
| +++ net/base/dnssec_chain_verifier.cc (working copy)
|
| @@ -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 @@
|
| 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 @@
|
| 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 {
|
|
|