mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-03 12:44:45 +02:00
Add missing guard to api.c
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user