Index: net/base/transport_security_state.cc |
=================================================================== |
--- net/base/transport_security_state.cc (revision 98481) |
+++ net/base/transport_security_state.cc (working copy) |
@@ -32,7 +32,7 @@ |
} |
static std::string HashHost(const std::string& canonicalized_host) { |
- char hashed[crypto::SHA256_LENGTH]; |
+ char hashed[crypto::kSHA256Length]; |
crypto::SHA256HashString(canonicalized_host, hashed, sizeof(hashed)); |
return std::string(hashed, sizeof(hashed)); |
} |
@@ -293,7 +293,7 @@ |
static std::string ExternalStringToHashedDomain(const std::string& external) { |
std::string out; |
if (!base::Base64Decode(external, &out) || |
- out.size() != crypto::SHA256_LENGTH) { |
+ out.size() != crypto::kSHA256Length) { |
return std::string(); |
} |