From 885cca67feda3ff239c5911670263675f4421ab4 Mon Sep 17 00:00:00 2001 From: Juliusz Sosinowicz Date: Mon, 13 Feb 2023 16:14:51 +0100 Subject: [PATCH] Check for shared ctx in all configs --- tests/api.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/api.c b/tests/api.c index 9fa4fc528..0911ba943 100644 --- a/tests/api.c +++ b/tests/api.c @@ -5149,13 +5149,11 @@ static THREAD_RETURN WOLFSSL_THREAD test_server_nofail(void* args) opts->return_code = TEST_FAIL; cbf = opts->callbacks; -#if defined(OPENSSL_EXTRA) || defined(WOLFSSL_EITHER_SIDE) if (cbf != NULL && cbf->ctx) { ctx = cbf->ctx; sharedCtx = 1; } else -#endif { WOLFSSL_METHOD* method = NULL; if (cbf != NULL && cbf->method != NULL) {