unused variable
This commit is contained in:
parent
f518a8f7d5
commit
76d89a0c15
@ -49920,7 +49920,6 @@ static int test_MakeCertWithCaFalse(void)
|
|||||||
EXPECT_DECLS;
|
EXPECT_DECLS;
|
||||||
#if defined(WOLFSSL_ALLOW_ENCODING_CA_FALSE) && defined(WOLFSSL_CERT_REQ) && \
|
#if defined(WOLFSSL_ALLOW_ENCODING_CA_FALSE) && defined(WOLFSSL_CERT_REQ) && \
|
||||||
!defined(NO_ASN_TIME) && defined(WOLFSSL_CERT_GEN) && defined(HAVE_ECC)
|
!defined(NO_ASN_TIME) && defined(WOLFSSL_CERT_GEN) && defined(HAVE_ECC)
|
||||||
const byte expectedIsCaSet = 1;
|
|
||||||
const byte expectedIsCa = 0;
|
const byte expectedIsCa = 0;
|
||||||
Cert cert;
|
Cert cert;
|
||||||
DecodedCert decodedCert;
|
DecodedCert decodedCert;
|
||||||
@ -49952,7 +49951,7 @@ static int test_MakeCertWithCaFalse(void)
|
|||||||
|
|
||||||
cert.selfSigned = 1;
|
cert.selfSigned = 1;
|
||||||
cert.isCA = expectedIsCa;
|
cert.isCA = expectedIsCa;
|
||||||
cert.isCaSet = expectedIsCaSet;
|
cert.isCaSet = 1;
|
||||||
cert.sigType = CTC_SHA256wECDSA;
|
cert.sigType = CTC_SHA256wECDSA;
|
||||||
|
|
||||||
ExpectIntGE(wc_MakeCert(&cert, der, FOURK_BUF, NULL, &key, &rng), 0);
|
ExpectIntGE(wc_MakeCert(&cert, der, FOURK_BUF, NULL, &key, &rng), 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user