summaryrefslogtreecommitdiffstats
path: root/net/cert
diff options
context:
space:
mode:
Diffstat (limited to 'net/cert')
-rw-r--r--net/cert/signed_tree_head.cc2
-rw-r--r--net/cert/signed_tree_head.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/net/cert/signed_tree_head.cc b/net/cert/signed_tree_head.cc
index b430b37..8bf2b9f 100644
--- a/net/cert/signed_tree_head.cc
+++ b/net/cert/signed_tree_head.cc
@@ -29,6 +29,8 @@ SignedTreeHead::SignedTreeHead(Version version,
memcpy(this->sha256_root_hash, sha256_root_hash, kSthRootHashLength);
}
+SignedTreeHead::SignedTreeHead(const SignedTreeHead& other) = default;
+
SignedTreeHead::~SignedTreeHead() {}
void PrintTo(const SignedTreeHead& sth, std::ostream* os) {
diff --git a/net/cert/signed_tree_head.h b/net/cert/signed_tree_head.h
index 73b6fdc..154c7a9 100644
--- a/net/cert/signed_tree_head.h
+++ b/net/cert/signed_tree_head.h
@@ -36,6 +36,7 @@ struct NET_EXPORT SignedTreeHead {
const char sha256_root_hash[kSthRootHashLength],
const DigitallySigned& signature,
const std::string& log_id);
+ SignedTreeHead(const SignedTreeHead& other);
~SignedTreeHead();
Version version;