Merge pull request #809 from JacobBarthelmeh/Testing

test case when not using RSA blinding
This commit is contained in:
toddouska 2017-03-21 15:18:53 -07:00 committed by GitHub
commit 3e2fe536ad

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