Merge pull request #1076 from JacobBarthelmeh/UnitTests

place macro guard on test of RSA-OAEP with SHA1 dependency
This commit is contained in:
dgarske 2017-08-01 14:05:58 -07:00 committed by GitHub
commit 9f1b17effc
1 changed files with 2 additions and 1 deletions

View File

@ -7719,7 +7719,8 @@ static int test_wc_RsaPublicEncryptDecrypt_ex (void)
{
int ret = 0;
#if !defined(NO_RSA) && defined(WOLFSSL_KEY_GEN) && !defined(HAVE_FIPS)\
&& !defined(WC_NO_RSA_OAEP) && !defined(HAVE_USER_RSA)
&& !defined(WC_NO_RSA_OAEP) && !defined(HAVE_USER_RSA)\
&& !defined(NO_SHA)
RsaKey key;
WC_RNG rng;
const char* inStr = "Everyone gets Friday off.";