diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/test/ct_test_util.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/test/ct_test_util.cc b/net/test/ct_test_util.cc index 1101eb7..924366e 100644 --- a/net/test/ct_test_util.cc +++ b/net/test/ct_test_util.cc @@ -137,6 +137,7 @@ void GetX509CertSCT(scoped_refptr<SignedCertificateTimestamp>* sct_ref) { CHECK(sct_ref != NULL); *sct_ref = new SignedCertificateTimestamp(); SignedCertificateTimestamp *const sct(sct_ref->get()); + sct->version = ct::SignedCertificateTimestamp::SCT_VERSION_1; sct->log_id = HexToBytes(kTestKeyId); // Time the log issued a SCT for this certificate, which is // Fri Apr 5 10:04:16.089 2013 @@ -153,6 +154,7 @@ void GetPrecertSCT(scoped_refptr<SignedCertificateTimestamp>* sct_ref) { CHECK(sct_ref != NULL); *sct_ref = new SignedCertificateTimestamp(); SignedCertificateTimestamp *const sct(sct_ref->get()); + sct->version = ct::SignedCertificateTimestamp::SCT_VERSION_1; sct->log_id = HexToBytes(kTestKeyId); // Time the log issued a SCT for this Precertificate, which is // Fri Apr 5 10:04:16.275 2013 |