Skip to content

Commit 5047134

Browse files
authored
Merge pull request #8819 from sebastian-carpenter/asn-allow-0-serial-make-check-fail
WOLFSSL_ASN_ALLOW_0_SERIAL not handled in make check
2 parents 7898823 + a29d12f commit 5047134

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/api.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45925,7 +45925,8 @@ static int test_MakeCertWith0Ser(void)
4592545925

4592645926
wc_InitDecodedCert(&decodedCert, der, (word32)derSize, NULL);
4592745927

45928-
#if !defined(WOLFSSL_NO_ASN_STRICT) && !defined(WOLFSSL_PYTHON)
45928+
#if !defined(WOLFSSL_NO_ASN_STRICT) && !defined(WOLFSSL_PYTHON) && \
45929+
!defined(WOLFSSL_ASN_ALLOW_0_SERIAL)
4592945930
ExpectIntEQ(wc_ParseCert(&decodedCert, CERT_TYPE, NO_VERIFY, NULL),
4593045931
WC_NO_ERR_TRACE(ASN_PARSE_E));
4593145932
#else

0 commit comments

Comments
 (0)