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);