From f26d584cec6dda32e3f52bd48da345f848ee1a32 Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Mon, 20 Mar 2017 14:15:34 -0600 Subject: [PATCH] test case when not using RSA blinding --- wolfcrypt/test/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index 326d89971..1c03f82e0 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -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