Skip to content

Commit 00c3f5b

Browse files
committed
A fixup
1 parent d0fd0a2 commit 00c3f5b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

wolfcrypt/test/test.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18070,6 +18070,7 @@ static wc_test_ret_t rsa_certgen_test(RsaKey* key, RsaKey* keypub, WC_RNG* rng,
1807018070
ERROR_OUT(WC_TEST_RET_ENC_ERRNO, exit_rsa);
1807118071
#endif /* USE_CERT_BUFFERS */
1807218072

18073+
#if defined(WOLFSSL_ALT_NAMES)
1807318074
#if !defined(NO_FILESYSTEM) && !defined(USE_CERT_BUFFERS_1024) && \
1807418075
!defined(USE_CERT_BUFFERS_2048) && !defined(NO_ASN)
1807518076
ret = wc_SetAltNames(myCert, rsaCaCertFile);
@@ -18091,7 +18092,8 @@ static wc_test_ret_t rsa_certgen_test(RsaKey* key, RsaKey* keypub, WC_RNG* rng,
1809118092
if (ret < 0)
1809218093
ERROR_OUT(WC_TEST_RET_ENC_EC(ret), exit_rsa);
1809318094
#endif
18094-
#endif /* WOLFSSL_ALT_NAMES */
18095+
#endif /* WOLFSSL_ALT_NAMES */
18096+
#endif /* WOLFSSL_ALT_NAMES || HAVE_PKCS7 */
1809518097

1809618098
/* Get CA Key */
1809718099
#ifdef USE_CERT_BUFFERS_1024

0 commit comments

Comments
 (0)