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