Add missing guard to api.c

This commit is contained in:
Bill Phipps
2024-09-16 14:03:31 -04:00
parent 92f3a808b0
commit b4a491de12

View File

@@ -42805,7 +42805,7 @@ static int test_wc_SetSubjectKeyIdFromPublicKey_ex(void)
#if defined(WOLFSSL_CERT_EXT) && defined(WOLFSSL_CERT_GEN) #if defined(WOLFSSL_CERT_EXT) && defined(WOLFSSL_CERT_GEN)
WC_RNG rng; WC_RNG rng;
Cert cert; Cert cert;
#if !defined(NO_RSA) #if !defined(NO_RSA) && defined(WOLFSSL_KEY_GEN)
RsaKey rsaKey; RsaKey rsaKey;
int bits = 2048; int bits = 2048;
#endif #endif
@@ -42887,7 +42887,7 @@ static int test_wc_SetAuthKeyIdFromPublicKey_ex(void)
#if defined(WOLFSSL_CERT_EXT) && defined(WOLFSSL_CERT_GEN) #if defined(WOLFSSL_CERT_EXT) && defined(WOLFSSL_CERT_GEN)
WC_RNG rng; WC_RNG rng;
Cert cert; Cert cert;
#if !defined(NO_RSA) #if !defined(NO_RSA) && defined(WOLFSSL_KEY_GEN)
RsaKey rsaKey; RsaKey rsaKey;
int bits = 2048; int bits = 2048;
#endif #endif