mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-03 12:44:45 +02:00
Fixes for minor test.c build configuration issues.
This commit is contained in:
@@ -3263,7 +3263,7 @@ int hash_test(void)
|
|||||||
if (ret != BAD_FUNC_ARG)
|
if (ret != BAD_FUNC_ARG)
|
||||||
return -3094;
|
return -3094;
|
||||||
|
|
||||||
#ifndef NO_ASN
|
#ifndef NO_CERTS
|
||||||
#if defined(WOLFSSL_MD2) && !defined(HAVE_SELFTEST)
|
#if defined(WOLFSSL_MD2) && !defined(HAVE_SELFTEST)
|
||||||
ret = wc_GetCTC_HashOID(MD2);
|
ret = wc_GetCTC_HashOID(MD2);
|
||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
@@ -11508,7 +11508,7 @@ static int rsa_keygen_test(WC_RNG* rng)
|
|||||||
#if !defined(HAVE_FAST_RSA) && !defined(HAVE_USER_RSA) && \
|
#if !defined(HAVE_FAST_RSA) && !defined(HAVE_USER_RSA) && \
|
||||||
(!defined(HAVE_FIPS) || \
|
(!defined(HAVE_FIPS) || \
|
||||||
(defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2))) && \
|
(defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2))) && \
|
||||||
!defined(HAVE_SELFTEST)
|
!defined(HAVE_SELFTEST) && !defined(HAVE_INTEL_QA)
|
||||||
ret = wc_CheckRsaKey(&genKey);
|
ret = wc_CheckRsaKey(&genKey);
|
||||||
if (ret != 0) {
|
if (ret != 0) {
|
||||||
ERROR_OUT(-8228, exit_rsa);
|
ERROR_OUT(-8228, exit_rsa);
|
||||||
|
Reference in New Issue
Block a user