@@ -47390,7 +47390,7 @@ static int test_wc_SetSubjectKeyIdFromPublicKey_ex(void)
4739047390#if defined(WOLFSSL_CERT_EXT) && defined(WOLFSSL_CERT_GEN)
4739147391 WC_RNG rng;
4739247392 Cert cert;
47393- #if !defined(NO_RSA) && defined(HAVE_RSA )
47393+ #if !defined(NO_RSA) && defined(WOLFSSL_KEY_GEN )
4739447394 RsaKey rsaKey;
4739547395 int bits = 2048;
4739647396#endif
@@ -47413,7 +47413,7 @@ static int test_wc_SetSubjectKeyIdFromPublicKey_ex(void)
4741347413
4741447414 ExpectIntEQ(wc_InitCert(&cert), 0);
4741547415
47416- #if !defined(NO_RSA) && defined(HAVE_RSA) && defined( WOLFSSL_KEY_GEN)
47416+ #if !defined(NO_RSA) && defined(WOLFSSL_KEY_GEN)
4741747417 /* RSA */
4741847418 XMEMSET(&rsaKey, 0, sizeof(RsaKey));
4741947419 ExpectIntEQ(wc_InitRsaKey(&rsaKey, HEAP_HINT), 0);
@@ -47472,7 +47472,7 @@ static int test_wc_SetAuthKeyIdFromPublicKey_ex(void)
4747247472#if defined(WOLFSSL_CERT_EXT) && defined(WOLFSSL_CERT_GEN)
4747347473 WC_RNG rng;
4747447474 Cert cert;
47475- #if !defined(NO_RSA) && defined(HAVE_RSA )
47475+ #if !defined(NO_RSA) && defined(WOLFSSL_KEY_GEN )
4747647476 RsaKey rsaKey;
4747747477 int bits = 2048;
4747847478#endif
@@ -47495,7 +47495,7 @@ static int test_wc_SetAuthKeyIdFromPublicKey_ex(void)
4749547495
4749647496 ExpectIntEQ(wc_InitCert(&cert), 0);
4749747497
47498- #if !defined(NO_RSA) && defined(HAVE_RSA) && defined( WOLFSSL_KEY_GEN)
47498+ #if !defined(NO_RSA) && defined(WOLFSSL_KEY_GEN)
4749947499 /* RSA */
4750047500 XMEMSET(&rsaKey, 0, sizeof(RsaKey));
4750147501 ExpectIntEQ(wc_InitRsaKey(&rsaKey, HEAP_HINT), 0);
0 commit comments