diff --git a/tests/api.c b/tests/api.c index 0c3050c56..e3a4a8cbb 100644 --- a/tests/api.c +++ b/tests/api.c @@ -249,7 +249,7 @@ #include #endif -#if defined(WOLFSSL_SHA3) || defined(HAVE_PKCS7) +#if defined(WOLFSSL_SHA3) || defined(HAVE_PKCS7) || !defined(NO_RSA) static int devId = INVALID_DEVID; #endif #ifndef NO_DSA