mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-07 18:04:46 +00:00
Bug 1369806: Fix up pkix test to correctly pass zero to CreateEncodedBasicConstraints (which takes a pointer-to-long, rather than a long). r=keeler
MozReview-Commit-ID: Ki8AHuW5zyP --HG-- extra : rebase_source : b2c8ba7ad4414c8059f23e9d775fdee7000a4c18
This commit is contained in:
parent
ca4b542080
commit
ec576781c3
@ -822,10 +822,11 @@ TEST_F(pkixocsp_VerifyEncodedResponse_DelegatedResponder,
|
||||
{
|
||||
static const char* subCAName = "good_indirect_subca_1_first sub-CA";
|
||||
static const char* signerName = "good_indirect_subca_1_first OCSP signer";
|
||||
static const long zero = 0;
|
||||
|
||||
// sub-CA of root (root is the direct issuer of endEntity)
|
||||
const ByteString subCAExtensions[] = {
|
||||
CreateEncodedBasicConstraints(true, 0, Critical::No),
|
||||
CreateEncodedBasicConstraints(true, &zero, Critical::No),
|
||||
ByteString()
|
||||
};
|
||||
ScopedTestKeyPair subCAKeyPair(GenerateKeyPair());
|
||||
@ -875,10 +876,11 @@ TEST_F(pkixocsp_VerifyEncodedResponse_DelegatedResponder,
|
||||
{
|
||||
static const char* subCAName = "good_indirect_subca_1_second sub-CA";
|
||||
static const char* signerName = "good_indirect_subca_1_second OCSP signer";
|
||||
static const long zero = 0;
|
||||
|
||||
// sub-CA of root (root is the direct issuer of endEntity)
|
||||
const ByteString subCAExtensions[] = {
|
||||
CreateEncodedBasicConstraints(true, 0, Critical::No),
|
||||
CreateEncodedBasicConstraints(true, &zero, Critical::No),
|
||||
ByteString()
|
||||
};
|
||||
ScopedTestKeyPair subCAKeyPair(GenerateKeyPair());
|
||||
|
Loading…
Reference in New Issue
Block a user