test case when not using RSA blinding

This commit is contained in:
Jacob Barthelmeh
2017-03-20 14:15:34 -06:00
parent 4cb891334d
commit f26d584cec

View File

@ -5741,7 +5741,7 @@ static int rsa_sig_test(RsaKey* key, word32 keyLen, int modLen, WC_RNG* rng)
* -101 = USER_CRYPTO_ERROR
*/
if (ret == 0)
#elif defined(HAVE_FIPS)
#elif defined(HAVE_FIPS) || !defined(WC_RSA_BLINDING)
/* FIPS140 implementation doesn't do blinding. */
if (ret != 0)
#else