diff --git a/src/ssl.c b/src/ssl.c index 75d0a4403..c7e4b6dbe 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -11948,6 +11948,7 @@ int wolfSSL_set_compression(WOLFSSL* ssl) } +#if !defined(NO_RSA) && !defined(HAVE_USER_RSA) && !defined(HAVE_FAST_RSA) /* Generates a RSA key of length len * * len length of RSA key i.e. 2048 @@ -12002,6 +12003,7 @@ int wolfSSL_set_compression(WOLFSSL* ssl) return rsa; } +#endif /* NO_RSA */ #ifndef NO_CERTS