Bug 1614147 - remove unused variable 'kTreeSizeLength' r=jcj
authorPhilipp Zech <zech.ph@gmail.com>
Mon, 10 Feb 2020 22:31:47 +0000
changeset 513147 cad4ca428d3540c43835bb3f96f974d012c95ce1
parent 513146 ef53e2f57eebbd90911ae3cbf8ba134be0fb2a04
child 513148 201ebe0f644940b528da2f54a419f2fe6ac1b724
push id37110
push usernbeleuzu@mozilla.com
push dateTue, 11 Feb 2020 09:46:07 +0000
treeherdermozilla-central@11c9c5ce3955 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjcj
bugs1614147
milestone75.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1614147 - remove unused variable 'kTreeSizeLength' r=jcj Differential Revision: https://phabricator.services.mozilla.com/D62175
security/ct/CTSerialization.cpp
--- a/security/ct/CTSerialization.cpp
+++ b/security/ct/CTSerialization.cpp
@@ -33,19 +33,16 @@ static const size_t kSignatureLengthByte
 static const size_t kSignatureTypeLength = 1;
 static const size_t kLogEntryTypeLength = 2;
 static const size_t kAsn1CertificateLengthBytes = 3;
 static const size_t kTbsCertificateLengthBytes = 3;
 
 static const size_t kSCTListLengthBytes = 2;
 static const size_t kSerializedSCTLengthBytes = 2;
 
-// Members of digitally-signed struct of a STH
-static const size_t kTreeSizeLength = 8;
-
 // Length of sha256RootHash buffer of SignedTreeHead
 static const size_t kSthRootHashLength = 32;
 
 enum class SignatureType {
   CertificateTimestamp = 0,
   TreeHash = 1,
 };