Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(903)

Unified Diff: net/base/dnssec_chain_verifier.cc

Issue 7823004: Convert SHA256_LENGTH from a constant-in-anonymous-enum to a static const. This defines the cons... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/base/dnssec_chain_verifier.cc
===================================================================
--- net/base/dnssec_chain_verifier.cc (revision 98481)
+++ net/base/dnssec_chain_verifier.cc (working copy)
@@ -428,7 +428,7 @@
uint16 keyid,
uint8 algorithm) {
std::string temp;
- uint8 temp2[crypto::SHA256_LENGTH];
+ uint8 temp2[crypto::kSHA256Length];
const uint8* digest;
unsigned digest_len;
« crypto/sha2.h ('K') | « net/base/crl_set.cc ('k') | net/base/transport_security_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698