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

Unified Diff: net/cert/ct_log_verifier_unittest.cc

Issue 2108833005: Adds domain names for all qualified CT logs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses Eran's comments Created 4 years, 5 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
« net/cert/ct_log_verifier.h ('K') | « net/cert/ct_log_verifier.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/ct_log_verifier_unittest.cc
diff --git a/net/cert/ct_log_verifier_unittest.cc b/net/cert/ct_log_verifier_unittest.cc
index 9221f0663272d0c0d47438ca6e1648113e8f3115..007c9df5f9963735c8d21315a935d05d194895fa 100644
--- a/net/cert/ct_log_verifier_unittest.cc
+++ b/net/cert/ct_log_verifier_unittest.cc
@@ -140,10 +140,11 @@ class CTLogVerifierTest : public ::testing::Test {
void SetUp() override {
log_ = CTLogVerifier::Create(ct::GetTestPublicKey(), "testlog",
- "https://ct.example.com");
+ "https://ct.example.com", "ct.example.com");
ASSERT_TRUE(log_);
- ASSERT_EQ(log_->key_id(), ct::GetTestPublicKeyId());
+ ASSERT_EQ(ct::GetTestPublicKeyId(), log_->key_id());
+ ASSERT_EQ("ct.example.com", log_->domain());
}
// Given a consistency proof between two snapshots of the tree, asserts that
« net/cert/ct_log_verifier.h ('K') | « net/cert/ct_log_verifier.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698