mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
check on keygen for make rsa key function
This commit is contained in:
@@ -11632,8 +11632,7 @@ static int test_wc_RsaPublicKeyDecodeRaw (void)
|
||||
} /* END test_wc_RsaPublicKeyDecodeRaw */
|
||||
|
||||
|
||||
#if (!defined(NO_RSA) || !defined(HAVE_FAST_RSA)) && (defined(WOLFSSL_KEY_GEN) || \
|
||||
defined(OPENSSL_EXTRA) || defined(OPENSSL_EXTRA_X509_SMALL))
|
||||
#if (!defined(NO_RSA) || !defined(HAVE_FAST_RSA)) && defined(WOLFSSL_KEY_GEN)
|
||||
/* In FIPS builds, wc_MakeRsaKey() will return an error if it cannot find
|
||||
* a probable prime in 5*(modLen/2) attempts. In non-FIPS builds, it keeps
|
||||
* trying until it gets a probable prime. */
|
||||
|
Reference in New Issue
Block a user