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

Unified Diff: net/cert/ct_known_logs.cc

Issue 1338393002: Certificate Transparency: Add Venafi log (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Store CT log info in rodata (nit fix) Created 5 years, 3 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
« no previous file with comments | « no previous file | net/cert/ct_known_logs_static.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/ct_known_logs.cc
diff --git a/net/cert/ct_known_logs.cc b/net/cert/ct_known_logs.cc
index 254090dda05b279297183484f026bb3c75039c31..381d4dd1013e3265d31fa11e2cf19a1a15f36656 100644
--- a/net/cert/ct_known_logs.cc
+++ b/net/cert/ct_known_logs.cc
@@ -19,7 +19,7 @@ std::vector<scoped_refptr<CTLogVerifier>> CreateLogVerifiersForKnownLogs() {
std::vector<scoped_refptr<CTLogVerifier>> verifiers;
for (size_t i = 0; i < arraysize(kCTLogList); ++i) {
const CTLogInfo& log(kCTLogList[i]);
- base::StringPiece key(log.log_key, arraysize(log.log_key) - 1);
+ base::StringPiece key(log.log_key, log.log_key_length);
verifiers.push_back(CTLogVerifier::Create(key, log.log_name, log.log_url));
}
« no previous file with comments | « no previous file | net/cert/ct_known_logs_static.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698