add macro guard to RSA key generation

This commit is contained in:
Jacob Barthelmeh
2017-04-27 15:56:07 -06:00
parent c8381afdc1
commit e1d71d7ab8

View File

@ -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