From 3e50c79c3b2811a4af169dd817306cc648a36a10 Mon Sep 17 00:00:00 2001 From: Marco Oliverio Date: Tue, 4 Feb 2025 23:34:53 +0000 Subject: [PATCH] tests: bind test_wolfSSL_client_server_nofail_memio HAVE_SSL_MEMIO_TESTS_DEP --- tests/api.c | 3 --- tests/unit.h | 4 +++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/api.c b/tests/api.c index 3f284885b..0b2c7fca3 100644 --- a/tests/api.c +++ b/tests/api.c @@ -460,9 +460,6 @@ #endif #endif /* HAVE_PKCS7 */ -int test_wolfSSL_client_server_nofail_memio(test_ssl_cbf* client_cb, - test_ssl_cbf* server_cb, test_cbType client_on_handshake); - #ifdef WOLFSSL_DUMP_MEMIO_STREAM const char* currentTestName; char tmpDirName[16]; diff --git a/tests/unit.h b/tests/unit.h index 20664afd7..3c0ec63fd 100644 --- a/tests/unit.h +++ b/tests/unit.h @@ -408,7 +408,9 @@ int test_ssl_memio_setup(test_ssl_memio_ctx *ctx); int test_ssl_memio_do_handshake(test_ssl_memio_ctx* ctx, int max_rounds, int* rounds); void test_ssl_memio_cleanup(test_ssl_memio_ctx* ctx); -#endif +int test_wolfSSL_client_server_nofail_memio(test_ssl_cbf* client_cb, + test_ssl_cbf* server_cb, test_cbType client_on_handshake); +#endif /* HAVE_SSL_MEMIO_TESTS_DEPENDENCIES */ void ApiTest_PrintTestCases(void); int ApiTest_RunIdx(int idx);