forked from wolfSSL/wolfssl
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
|
/* Generates a RSA key of length len
|
||||||
*
|
*
|
||||||
* len length of RSA key i.e. 2048
|
* len length of RSA key i.e. 2048
|
||||||
@@ -12002,6 +12003,7 @@ int wolfSSL_set_compression(WOLFSSL* ssl)
|
|||||||
|
|
||||||
return rsa;
|
return rsa;
|
||||||
}
|
}
|
||||||
|
#endif /* NO_RSA */
|
||||||
|
|
||||||
|
|
||||||
#ifndef NO_CERTS
|
#ifndef NO_CERTS
|
||||||
|
Reference in New Issue
Block a user