Skip to content

Commit 0455224

Browse files
committed
Fix build errors in API unit test without IO dependencies.
1 parent 37884f8 commit 0455224

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/api.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36008,7 +36008,8 @@ static int test_wolfSSL_CTX_add_client_CA(void)
3600836008
#endif /* OPENSSL_EXTRA && !NO_RSA && !NO_CERTS && !NO_WOLFSSL_CLIENT */
3600936009
return EXPECT_RESULT();
3601036010
}
36011-
#if defined(WOLFSSL_TLS13) && defined(HAVE_ECH)
36011+
#if defined(WOLFSSL_TLS13) && defined(HAVE_ECH) && \
36012+
defined(HAVE_IO_TESTS_DEPENDENCIES)
3601236013
static THREAD_RETURN WOLFSSL_THREAD server_task_ech(void* args)
3601336014
{
3601436015
callback_functions* callbacks = ((func_args*)args)->callbacks;
@@ -68190,7 +68191,8 @@ TEST_CASE testCases[] = {
6819068191
TEST_DECL(test_wolfSSL_wolfSSL_UseSecureRenegotiation),
6819168192
TEST_DECL(test_wolfSSL_SCR_Reconnect),
6819268193
TEST_DECL(test_tls_ext_duplicate),
68193-
#if defined(WOLFSSL_TLS13) && defined(HAVE_ECH)
68194+
#if defined(WOLFSSL_TLS13) && defined(HAVE_ECH) && \
68195+
defined(HAVE_IO_TESTS_DEPENDENCIES)
6819468196
TEST_DECL(test_wolfSSL_Tls13_ECH_params),
6819568197
/* Uses Assert in handshake callback. */
6819668198
TEST_DECL(test_wolfSSL_Tls13_ECH),

0 commit comments

Comments
 (0)