| 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);
|
| +
|
| } // namespace ct
|
|
|
| } // namespace net
|
|
|