| Index: net/test/ct_test_util.cc
|
| diff --git a/net/test/ct_test_util.cc b/net/test/ct_test_util.cc
|
| index 9bc6f958da7575a5d8f85d0ec33e09c8e99a63b3..81ec538700ef252fee375b04c5052cf735af5e15 100644
|
| --- a/net/test/ct_test_util.cc
|
| +++ b/net/test/ct_test_util.cc
|
| @@ -262,6 +262,7 @@ bool GetSampleSignedTreeHead(SignedTreeHead* sth) {
|
| sth->tree_size = kSampleSTHTreeSize;
|
| std::string sha256_root_hash = GetSampleSTHSHA256RootHash();
|
| memcpy(sth->sha256_root_hash, sha256_root_hash.c_str(), kSthRootHashLength);
|
| + sth->log_id = GetTestPublicKeyId();
|
|
|
| return GetSampleSTHTreeHeadDecodedSignature(&(sth->signature));
|
| }
|
| @@ -274,6 +275,7 @@ bool GetSampleEmptySignedTreeHead(SignedTreeHead* sth) {
|
| std::string empty_root_hash = HexToBytes(
|
| "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855");
|
| memcpy(sth->sha256_root_hash, empty_root_hash.c_str(), kSthRootHashLength);
|
| + sth->log_id = GetTestPublicKeyId();
|
|
|
| std::string tree_head_signature = HexToBytes(
|
| "040300463044022046c26401de9416403da54762dc1f1687c38eafd791b15e484ab4c5f7"
|
| @@ -289,6 +291,7 @@ bool GetBadEmptySignedTreeHead(SignedTreeHead* sth) {
|
| base::TimeDelta::FromMilliseconds(INT64_C(1450870952897));
|
| sth->tree_size = 0;
|
| memset(sth->sha256_root_hash, 'f', kSthRootHashLength);
|
| + sth->log_id = GetTestPublicKeyId();
|
|
|
| std::string tree_head_signature = HexToBytes(
|
| "04030046304402207cab04c62dee5d1cbc95fec30cd8417313f71587b75f133ad2e6f324"
|
|
|