Skip to content

Commit 5fbe319

Browse files
author
Lealem Amedie
committed
Remove references to config.h from test headers
1 parent 1329543 commit 5fbe319

3 files changed

Lines changed: 3 additions & 7 deletions

File tree

tests/api.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34729,7 +34729,8 @@ static int test_wolfSSL_Tls13_Key_Logging_test(void)
3472934729
#endif /* OPENSSL_EXTRA && HAVE_SECRET_CALLBACK && WOLFSSL_TLS13 */
3473034730
return EXPECT_RESULT();
3473134731
}
34732-
#if defined(WOLFSSL_TLS13) && defined(HAVE_ECH)
34732+
#if defined(WOLFSSL_TLS13) && defined(HAVE_ECH) && \
34733+
defined(HAVE_IO_TESTS_DEPENDENCIES)
3473334734
static int test_wolfSSL_Tls13_ECH_params(void)
3473434735
{
3473534736
EXPECT_DECLS;

wolfcrypt/test/test.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@
3535
typedef sword32 wc_test_ret_t;
3636
#endif
3737

38-
#ifdef HAVE_CONFIG_H
39-
#include <config.h>
40-
#endif
4138
#include <wolfssl/wolfcrypt/settings.h>
4239

4340
#ifdef HAVE_STACK_SIZE

wolfssl/test.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,8 @@
2828
#ifndef wolfSSL_TEST_H
2929
#define wolfSSL_TEST_H
3030

31-
#ifdef HAVE_CONFIG_H
32-
#include <config.h>
33-
#endif
3431
#include <wolfssl/wolfcrypt/settings.h>
32+
#include <wolfssl/wolfcrypt/wc_port.h>
3533

3634
#ifdef FUSION_RTOS
3735
#include <fclstdio.h>

0 commit comments

Comments
 (0)