forked from wolfSSL/wolfssl
test case when not using RSA blinding
This commit is contained in:
@ -5741,7 +5741,7 @@ static int rsa_sig_test(RsaKey* key, word32 keyLen, int modLen, WC_RNG* rng)
|
|||||||
* -101 = USER_CRYPTO_ERROR
|
* -101 = USER_CRYPTO_ERROR
|
||||||
*/
|
*/
|
||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
#elif defined(HAVE_FIPS)
|
#elif defined(HAVE_FIPS) || !defined(WC_RSA_BLINDING)
|
||||||
/* FIPS140 implementation doesn't do blinding. */
|
/* FIPS140 implementation doesn't do blinding. */
|
||||||
if (ret != 0)
|
if (ret != 0)
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user