| Index: net/cert/signed_certificate_timestamp.cc
|
| diff --git a/net/cert/signed_certificate_timestamp.cc b/net/cert/signed_certificate_timestamp.cc
|
| index 0a72cd1f9d2d0e55c40800284e564e30837c1385..64496e91c439b1bbc61acf438380806c99a5d53e 100644
|
| --- a/net/cert/signed_certificate_timestamp.cc
|
| +++ b/net/cert/signed_certificate_timestamp.cc
|
| @@ -26,9 +26,11 @@ bool SignedCertificateTimestamp::LessThan::operator()(
|
| return lhs->version < rhs->version;
|
| }
|
|
|
| -SignedCertificateTimestamp::SignedCertificateTimestamp() {}
|
| +SignedCertificateTimestamp::SignedCertificateTimestamp() {
|
| +}
|
|
|
| -SignedCertificateTimestamp::~SignedCertificateTimestamp() {}
|
| +SignedCertificateTimestamp::~SignedCertificateTimestamp() {
|
| +}
|
|
|
| void SignedCertificateTimestamp::Persist(Pickle* pickle) {
|
| CHECK(pickle->WriteInt(version));
|
| @@ -53,15 +55,11 @@ SignedCertificateTimestamp::CreateFromPickle(PickleIterator* iter) {
|
| new SignedCertificateTimestamp());
|
| int origin;
|
| // string values are set directly
|
| - if (!(iter->ReadInt(&version) &&
|
| - iter->ReadString(&sct->log_id) &&
|
| - iter->ReadInt64(×tamp) &&
|
| - iter->ReadString(&sct->extensions) &&
|
| - iter->ReadInt(&hash_algorithm) &&
|
| - iter->ReadInt(&sig_algorithm) &&
|
| + if (!(iter->ReadInt(&version) && iter->ReadString(&sct->log_id) &&
|
| + iter->ReadInt64(×tamp) && iter->ReadString(&sct->extensions) &&
|
| + iter->ReadInt(&hash_algorithm) && iter->ReadInt(&sig_algorithm) &&
|
| iter->ReadString(&sct->signature.signature_data) &&
|
| - iter->ReadInt(&origin) &&
|
| - iter->ReadString(&sct->log_description))) {
|
| + iter->ReadInt(&origin) && iter->ReadString(&sct->log_description))) {
|
| return NULL;
|
| }
|
| // Now set the rest of the member variables:
|
| @@ -75,9 +73,11 @@ SignedCertificateTimestamp::CreateFromPickle(PickleIterator* iter) {
|
| return sct;
|
| }
|
|
|
| -LogEntry::LogEntry() {}
|
| +LogEntry::LogEntry() {
|
| +}
|
|
|
| -LogEntry::~LogEntry() {}
|
| +LogEntry::~LogEntry() {
|
| +}
|
|
|
| void LogEntry::Reset() {
|
| type = LogEntry::LOG_ENTRY_TYPE_X509;
|
| @@ -85,9 +85,11 @@ void LogEntry::Reset() {
|
| tbs_certificate.clear();
|
| }
|
|
|
| -DigitallySigned::DigitallySigned() {}
|
| +DigitallySigned::DigitallySigned() {
|
| +}
|
|
|
| -DigitallySigned::~DigitallySigned() {}
|
| +DigitallySigned::~DigitallySigned() {
|
| +}
|
|
|
| } // namespace ct
|
|
|
|
|