Sync pki with chrome 6d4f9e7881fe07cf46eafd3245db2c8829e312f4 Bug: 1322914 Change-Id: Ied887748eaf0f83465f3cea0afa514b12d759c3b Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/61825 Reviewed-by: Adam Langley <agl@google.com> Auto-Submit: Bob Beck <bbe@google.com> Commit-Queue: Adam Langley <agl@google.com> Commit-Queue: Bob Beck <bbe@google.com>
diff --git a/pki/parse_values_unittest.cc b/pki/parse_values_unittest.cc index 6431c72..170224c 100644 --- a/pki/parse_values_unittest.cc +++ b/pki/parse_values_unittest.cc
@@ -190,7 +190,7 @@ bool should_pass; const uint8_t input[9]; size_t length; - uint64_t expected_value; + uint64_t expected_value = 0; }; const Uint64TestData kUint64TestData[] = { @@ -230,7 +230,7 @@ bool should_pass; const uint8_t input[9]; size_t length; - uint8_t expected_value; + uint8_t expected_value = 0; }; const Uint8TestData kUint8TestData[] = { @@ -267,7 +267,7 @@ bool should_pass; const uint8_t input[2]; size_t length; - bool negative; + bool negative = false; }; const IsValidIntegerTestData kIsValidIntegerTestData[] = {
diff --git a/pki/signature_algorithm.h b/pki/signature_algorithm.h index 069ab7e..dbb4fb4 100644 --- a/pki/signature_algorithm.h +++ b/pki/signature_algorithm.h
@@ -45,6 +45,7 @@ kRsaPssSha256, kRsaPssSha384, kRsaPssSha512, + kMaxValue = kRsaPssSha512, }; // Parses AlgorithmIdentifier as defined by RFC 5280 section 4.1.1.2:
diff --git a/pki/test_helpers.h b/pki/test_helpers.h index de55dff..73e8afd 100644 --- a/pki/test_helpers.h +++ b/pki/test_helpers.h
@@ -46,7 +46,7 @@ // True to indicate that the block is not required to be present. If the // block is optional and is not present, then |value| will not be modified. - bool optional; + bool optional = false; }; // ReadTestDataFromPemFile() is a helper function that reads a PEM test file
diff --git a/pki/testdata/nist-pkits/README.chromium b/pki/testdata/nist-pkits/README.chromium index b017b54..a862062 100644 --- a/pki/testdata/nist-pkits/README.chromium +++ b/pki/testdata/nist-pkits/README.chromium
@@ -4,7 +4,7 @@ Version: 1.0.1 Date: April 14, 2011 License: Public Domain: United States Government Work under 17 U.S.C. 105 -License File: NOT_SHIPPED +Shipped: no Description: The Public Key Interoperability Test Suite (PKITS) is a comprehensive X.509