forked from wolfSSL/wolfssl
Merge pull request #1076 from JacobBarthelmeh/UnitTests
place macro guard on test of RSA-OAEP with SHA1 dependency
This commit is contained in:
@@ -7719,7 +7719,8 @@ static int test_wc_RsaPublicEncryptDecrypt_ex (void)
|
|||||||
{
|
{
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
#if !defined(NO_RSA) && defined(WOLFSSL_KEY_GEN) && !defined(HAVE_FIPS)\
|
#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;
|
RsaKey key;
|
||||||
WC_RNG rng;
|
WC_RNG rng;
|
||||||
const char* inStr = "Everyone gets Friday off.";
|
const char* inStr = "Everyone gets Friday off.";
|
||||||
|
Reference in New Issue
Block a user