From b552f3f273b57d8d08c0680a291b6d0cdd806027 Mon Sep 17 00:00:00 2001 From: Alex Lanzano Date: Wed, 1 Jul 2026 11:19:07 -0400 Subject: [PATCH] Add TEST_POSIX guard to include posix transport header in auth test --- test/wh_test_auth.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/wh_test_auth.c b/test/wh_test_auth.c index 5b0265410..c05416662 100644 --- a/test/wh_test_auth.c +++ b/test/wh_test_auth.c @@ -45,7 +45,8 @@ #include "wh_test_auth.h" #endif /* WOLFHSM_CFG_ENABLE_AUTHENTICATION */ -#if defined(WOLFHSM_CFG_TEST_CLIENT_ONLY_TCP) +#if defined(WOLFHSM_CFG_TEST_CLIENT_ONLY_TCP) && \ + defined(WOLFHSM_CFG_TEST_POSIX) #include "port/posix/posix_transport_tcp.h" #endif