From 03d68812a9dc6b388b1a1061565118aea0490864 Mon Sep 17 00:00:00 2001 From: Takashi Kojo Date: Sat, 5 May 2018 18:16:57 +0900 Subject: [PATCH] Fix #if condition for test --- tests/api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/api.c b/tests/api.c index c5b0614a9..11695b9d9 100644 --- a/tests/api.c +++ b/tests/api.c @@ -9854,7 +9854,7 @@ static int test_wc_RsaKeyToDer (void) static int test_wc_RsaKeyToPublicDer (void) { int ret = 0; -#if (!defined(NO_RSA) || !defined(HAVE_FAST_RSA) || defined(WOLFSSL_KEY_GEN)) && \ +#if (!defined(NO_RSA) || !defined(HAVE_FAST_RSA)) && defined(WOLFSSL_KEY_GEN) && \ (defined(OPENSSL_EXTRA) || defined(OPENSSL_EXTRA_X509_SMALL)) RsaKey key; WC_RNG rng;