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

Unified Diff: net/cert/ct_known_logs.cc

Issue 2108833005: Adds domain names for all qualified CT logs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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-inc.h » ('j') | net/cert/ct_known_logs_static-inc.h » ('J')
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 0602581708e1e211b2d57939fed94ad6e9230f94..0f0338752fb5e7dc5e88220a58049f8fe0f7623e 100644
--- a/net/cert/ct_known_logs.cc
+++ b/net/cert/ct_known_logs.cc
@@ -37,7 +37,8 @@ CreateLogVerifiersForKnownLogs() {
// Add all qualified logs.
for (const auto& log : kCTLogList) {
base::StringPiece key(log.log_key, log.log_key_length);
- verifiers.push_back(CTLogVerifier::Create(key, log.log_name, log.log_url));
+ verifiers.push_back(
+ CTLogVerifier::Create(key, log.log_name, log.log_url, log.log_domain));
// Make sure no null logs enter verifiers. Parsing of all known logs should
// succeed.
CHECK(verifiers.back().get());
@@ -48,7 +49,8 @@ CreateLogVerifiersForKnownLogs() {
for (const auto& disqualified_log : kDisqualifiedCTLogList) {
const CTLogInfo& log = disqualified_log.log_info;
base::StringPiece key(log.log_key, log.log_key_length);
- verifiers.push_back(CTLogVerifier::Create(key, log.log_name, log.log_url));
+ verifiers.push_back(
+ CTLogVerifier::Create(key, log.log_name, log.log_url, log.log_domain));
// Make sure no null logs enter verifiers. Parsing of all known logs should
// succeed.
CHECK(verifiers.back().get());
« no previous file with comments | « no previous file | net/cert/ct_known_logs_static-inc.h » ('j') | net/cert/ct_known_logs_static-inc.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698