summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-22 21:33:52 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-22 21:33:52 +0000
commit2cd1a5b78d3259e1d025bfd62fc551b0fe48748a (patch)
treeb590a220b4320f7500ff6321d945479eba58f9d5
parentea73fc7bcc5e674c15f07b3c5704b372274ae06f (diff)
downloadchromium_src-2cd1a5b78d3259e1d025bfd62fc551b0fe48748a.zip
chromium_src-2cd1a5b78d3259e1d025bfd62fc551b0fe48748a.tar.gz
chromium_src-2cd1a5b78d3259e1d025bfd62fc551b0fe48748a.tar.bz2
Try to fix compile break.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102372 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--net/base/transport_security_state.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/net/base/transport_security_state.cc b/net/base/transport_security_state.cc
index b43a356..c0ba4e2 100644
--- a/net/base/transport_security_state.cc
+++ b/net/base/transport_security_state.cc
@@ -15,9 +15,6 @@
#if defined(SHA1_LENGTH)
#undef SHA1_LENGTH
#endif
-#if defined(SHA256_LENGTH)
-#undef SHA256_LENGTH
-#endif
#include "base/base64.h"
#include "base/json/json_reader.h"
@@ -437,7 +434,7 @@ bool TransportSecurityState::ParseSidePin(
return false;
bool have_parsed_a_key = false;
- uint8 leaf_spki_hash[crypto::SHA256_LENGTH];
+ uint8 leaf_spki_hash[crypto::kSHA256Length];
bool have_leaf_spki_hash = false;
while (side_pin_bytes.size() > 0) {