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

Unified Diff: net/cert/merkle_tree_leaf.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/merkle_tree_leaf.h ('k') | net/cert/merkle_tree_leaf_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/merkle_tree_leaf.cc
diff --git a/net/cert/merkle_tree_leaf.cc b/net/cert/merkle_tree_leaf.cc
index 5dfe08e350f02d19f65b49598893e8c50e1bfe47..5fb2eba4b26583387e3cb134e0a447dac44a5a3e 100644
--- a/net/cert/merkle_tree_leaf.cc
+++ b/net/cert/merkle_tree_leaf.cc
@@ -36,14 +36,14 @@ bool GetMerkleTreeLeaf(const X509Certificate* cert,
MerkleTreeLeaf* merkle_tree_leaf) {
if (sct->origin == SignedCertificateTimestamp::SCT_EMBEDDED) {
if (cert->GetIntermediateCertificates().empty() ||
- !GetPrecertLogEntry(cert->os_cert_handle(),
- cert->GetIntermediateCertificates().front(),
- &merkle_tree_leaf->log_entry)) {
+ !GetPrecertSignedEntry(cert->os_cert_handle(),
+ cert->GetIntermediateCertificates().front(),
+ &merkle_tree_leaf->signed_entry)) {
return false;
}
} else {
- if (!GetX509LogEntry(cert->os_cert_handle(),
- &merkle_tree_leaf->log_entry)) {
+ if (!GetX509SignedEntry(cert->os_cert_handle(),
+ &merkle_tree_leaf->signed_entry)) {
return false;
}
}
« no previous file with comments | « net/cert/merkle_tree_leaf.h ('k') | net/cert/merkle_tree_leaf_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698