Skip to content

Commit b4a491d

Browse files
committed
Add missing guard to api.c
1 parent 92f3a80 commit b4a491d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/api.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42805,7 +42805,7 @@ static int test_wc_SetSubjectKeyIdFromPublicKey_ex(void)
4280542805
#if defined(WOLFSSL_CERT_EXT) && defined(WOLFSSL_CERT_GEN)
4280642806
WC_RNG rng;
4280742807
Cert cert;
42808-
#if !defined(NO_RSA)
42808+
#if !defined(NO_RSA) && defined(WOLFSSL_KEY_GEN)
4280942809
RsaKey rsaKey;
4281042810
int bits = 2048;
4281142811
#endif
@@ -42887,7 +42887,7 @@ static int test_wc_SetAuthKeyIdFromPublicKey_ex(void)
4288742887
#if defined(WOLFSSL_CERT_EXT) && defined(WOLFSSL_CERT_GEN)
4288842888
WC_RNG rng;
4288942889
Cert cert;
42890-
#if !defined(NO_RSA)
42890+
#if !defined(NO_RSA) && defined(WOLFSSL_KEY_GEN)
4289142891
RsaKey rsaKey;
4289242892
int bits = 2048;
4289342893
#endif

0 commit comments

Comments
 (0)