mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
This commit is contained in:
@@ -33377,7 +33377,10 @@ WOLFSSL_RSA* wolfSSL_RSA_generate_key(int len, unsigned long e,
|
|||||||
int wolfSSL_RSA_generate_key_ex(WOLFSSL_RSA* rsa, int bits, WOLFSSL_BIGNUM* bn,
|
int wolfSSL_RSA_generate_key_ex(WOLFSSL_RSA* rsa, int bits, WOLFSSL_BIGNUM* bn,
|
||||||
void* cb)
|
void* cb)
|
||||||
{
|
{
|
||||||
for (;;) {
|
#ifdef HAVE_FIPS
|
||||||
|
for (;;)
|
||||||
|
#endif
|
||||||
|
{
|
||||||
int gen_ret = wolfSSL_RSA_generate_key_native(rsa, bits, bn, cb);
|
int gen_ret = wolfSSL_RSA_generate_key_native(rsa, bits, bn, cb);
|
||||||
if (gen_ret == WOLFSSL_ERROR_NONE)
|
if (gen_ret == WOLFSSL_ERROR_NONE)
|
||||||
return WOLFSSL_SUCCESS;
|
return WOLFSSL_SUCCESS;
|
||||||
|
Reference in New Issue
Block a user