Chromium Code Reviews| Index: net/cert/merkle_tree_leaf.cc |
| diff --git a/net/cert/merkle_tree_leaf.cc b/net/cert/merkle_tree_leaf.cc |
| index 21e2814402cacc2adfb1aa90d90ec38472e1bf11..8e0bfa2bfcfc0df1ac764979679b2c3eee7a0b39 100644 |
| --- a/net/cert/merkle_tree_leaf.cc |
| +++ b/net/cert/merkle_tree_leaf.cc |
| @@ -15,6 +15,12 @@ namespace ct { |
| MerkleTreeLeaf::MerkleTreeLeaf() {} |
| +MerkleTreeLeaf::MerkleTreeLeaf(const MerkleTreeLeaf& other) |
| + : log_id(other.log_id), |
| + log_entry(other.log_entry), |
| + timestamp(other.timestamp), |
| + extensions(other.extensions) {} |
| + |
| MerkleTreeLeaf::~MerkleTreeLeaf() {} |
| bool Hash(const MerkleTreeLeaf& tree_leaf, std::string* out) { |
| @@ -50,6 +56,9 @@ bool GetMerkleTreeLeaf(const X509Certificate* cert, |
| return true; |
| } |
| +NET_EXPORT bool CompareLeaves(const MerkleTreeLeaf& lhs, |
| + const MerkleTreeLeaf& rhs); |
|
Rob Percival
2016/05/26 17:33:15
I assume this shouldn't be here?
Eran Messeri
2016/06/30 19:58:28
Correct.
|
| + |
| } // namespace ct |
| } // namespace net |