From ffb3dfd6ec4b0d272d1dbd042ff6f3d674a75beb Mon Sep 17 00:00:00 2001 From: David Garske Date: Fri, 22 Nov 2019 07:01:10 -0800 Subject: [PATCH] Fixes for minor test.c build configuration issues. --- wolfcrypt/test/test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index a750ac373..ccd434b3f 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -3263,7 +3263,7 @@ int hash_test(void) if (ret != BAD_FUNC_ARG) return -3094; -#ifndef NO_ASN +#ifndef NO_CERTS #if defined(WOLFSSL_MD2) && !defined(HAVE_SELFTEST) ret = wc_GetCTC_HashOID(MD2); if (ret == 0) @@ -11508,7 +11508,7 @@ static int rsa_keygen_test(WC_RNG* rng) #if !defined(HAVE_FAST_RSA) && !defined(HAVE_USER_RSA) && \ (!defined(HAVE_FIPS) || \ (defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2))) && \ - !defined(HAVE_SELFTEST) + !defined(HAVE_SELFTEST) && !defined(HAVE_INTEL_QA) ret = wc_CheckRsaKey(&genKey); if (ret != 0) { ERROR_OUT(-8228, exit_rsa);