From 5fbe319ce9664ff4580061a5a7284bfac54504c3 Mon Sep 17 00:00:00 2001 From: Lealem Amedie Date: Tue, 11 Jul 2023 10:26:19 -0600 Subject: [PATCH] Remove references to config.h from test headers --- tests/api.c | 3 ++- wolfcrypt/test/test.h | 3 --- wolfssl/test.h | 4 +--- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/tests/api.c b/tests/api.c index 8c5dcb391..1fa2655ae 100644 --- a/tests/api.c +++ b/tests/api.c @@ -34729,7 +34729,8 @@ static int test_wolfSSL_Tls13_Key_Logging_test(void) #endif /* OPENSSL_EXTRA && HAVE_SECRET_CALLBACK && WOLFSSL_TLS13 */ return EXPECT_RESULT(); } -#if defined(WOLFSSL_TLS13) && defined(HAVE_ECH) +#if defined(WOLFSSL_TLS13) && defined(HAVE_ECH) && \ + defined(HAVE_IO_TESTS_DEPENDENCIES) static int test_wolfSSL_Tls13_ECH_params(void) { EXPECT_DECLS; diff --git a/wolfcrypt/test/test.h b/wolfcrypt/test/test.h index e1888d212..75f896887 100644 --- a/wolfcrypt/test/test.h +++ b/wolfcrypt/test/test.h @@ -35,9 +35,6 @@ typedef sword32 wc_test_ret_t; #endif -#ifdef HAVE_CONFIG_H - #include -#endif #include #ifdef HAVE_STACK_SIZE diff --git a/wolfssl/test.h b/wolfssl/test.h index 89661674b..eb6527e70 100644 --- a/wolfssl/test.h +++ b/wolfssl/test.h @@ -28,10 +28,8 @@ #ifndef wolfSSL_TEST_H #define wolfSSL_TEST_H -#ifdef HAVE_CONFIG_H - #include -#endif #include +#include #ifdef FUSION_RTOS #include