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

Unified Diff: net/cert/ct_log_verifier_unittest.cc

Issue 2824983002: Rename net::ct::LogEntry to SignedEntryData and clarify the comment. (Closed)
Patch Set: sort forward decls Created 3 years, 8 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 | « net/cert/ct_log_verifier.cc ('k') | net/cert/ct_objects_extractor.h » ('j') | 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 9067cb6e3947c9b62cb6df22009562dbf4245b08..4ec13ff886cafd1ea24d6e4db51aa2ccf34b17e9 100644
--- a/net/cert/ct_log_verifier_unittest.cc
+++ b/net/cert/ct_log_verifier_unittest.cc
@@ -389,8 +389,8 @@ void CheckVerifyConsistencyProof(const CTLogVerifier& log,
}
TEST_F(CTLogVerifierTest, VerifiesCertSCT) {
- ct::LogEntry cert_entry;
- ct::GetX509CertLogEntry(&cert_entry);
+ ct::SignedEntryData cert_entry;
+ ct::GetX509CertSignedEntry(&cert_entry);
scoped_refptr<ct::SignedCertificateTimestamp> cert_sct;
ct::GetX509CertSCT(&cert_sct);
@@ -399,8 +399,8 @@ TEST_F(CTLogVerifierTest, VerifiesCertSCT) {
}
TEST_F(CTLogVerifierTest, VerifiesPrecertSCT) {
- ct::LogEntry precert_entry;
- ct::GetPrecertLogEntry(&precert_entry);
+ ct::SignedEntryData precert_entry;
+ ct::GetPrecertSignedEntry(&precert_entry);
scoped_refptr<ct::SignedCertificateTimestamp> precert_sct;
ct::GetPrecertSCT(&precert_sct);
@@ -409,8 +409,8 @@ TEST_F(CTLogVerifierTest, VerifiesPrecertSCT) {
}
TEST_F(CTLogVerifierTest, FailsInvalidTimestamp) {
- ct::LogEntry cert_entry;
- ct::GetX509CertLogEntry(&cert_entry);
+ ct::SignedEntryData cert_entry;
+ ct::GetX509CertSignedEntry(&cert_entry);
scoped_refptr<ct::SignedCertificateTimestamp> cert_sct;
ct::GetX509CertSCT(&cert_sct);
@@ -422,8 +422,8 @@ TEST_F(CTLogVerifierTest, FailsInvalidTimestamp) {
}
TEST_F(CTLogVerifierTest, FailsInvalidLogID) {
- ct::LogEntry cert_entry;
- ct::GetX509CertLogEntry(&cert_entry);
+ ct::SignedEntryData cert_entry;
+ ct::GetX509CertSignedEntry(&cert_entry);
scoped_refptr<ct::SignedCertificateTimestamp> cert_sct;
ct::GetX509CertSCT(&cert_sct);
« no previous file with comments | « net/cert/ct_log_verifier.cc ('k') | net/cert/ct_objects_extractor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698