From 690bb14203520e3ac40722f1fe32141a6127a886 Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Fri, 14 Feb 2025 10:57:29 -0600 Subject: [PATCH] tests/utils.c and tests/api/test_dtls.c: fixes for include order, re tests/unit.h. --- tests/api/test_dtls.c | 10 +--------- tests/utils.c | 12 +----------- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/tests/api/test_dtls.c b/tests/api/test_dtls.c index 6de406f10..2c8d3c9bb 100644 --- a/tests/api/test_dtls.c +++ b/tests/api/test_dtls.c @@ -19,14 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA */ -#ifdef HAVE_CONFIG_H - #include -#endif - -#if !defined(WOLFSSL_USER_SETTINGS) && !defined(WOLFSSL_NO_OPTIONS_H) - #include -#endif -#include +#include #ifdef NO_INLINE #include @@ -38,7 +31,6 @@ #include #include -#include #include #include diff --git a/tests/utils.c b/tests/utils.c index bbdd5cf53..2b78b3a67 100644 --- a/tests/utils.c +++ b/tests/utils.c @@ -19,18 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA */ -#ifdef HAVE_CONFIG_H - #include -#endif - -#if !defined(WOLFSSL_USER_SETTINGS) && !defined(WOLFSSL_NO_OPTIONS_H) - #include -#endif -#include - -#include -#include #include +#include #ifdef HAVE_MANUAL_MEMIO_TESTS_DEPENDENCIES