From 1a2a0e1dc88bf905a7997e12de08a4b45f9db53c Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Fri, 30 Jun 2023 16:34:48 +0100 Subject: [PATCH] Don't compile quic_thread_assist.c on OPENSSL_NO_QUIC_THREAD_ASSIST If OPENSSL_NO_QUIC_THREAD_ASSIST is defined then we don't have the right support for QUIC thread assisted mode so don't attempt to compile that code. Reviewed-by: Tim Hudson Reviewed-by: Tomas Mraz Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/21332) --- ssl/quic/quic_thread_assist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/quic/quic_thread_assist.c b/ssl/quic/quic_thread_assist.c index b2917871abc..b5c1829e8e6 100644 --- a/ssl/quic/quic_thread_assist.c +++ b/ssl/quic/quic_thread_assist.c @@ -14,7 +14,7 @@ #include "internal/thread_arch.h" #include "internal/quic_thread_assist.h" -#if !defined(OPENSSL_NO_QUIC) && defined(OPENSSL_THREADS) +#if !defined(OPENSSL_NO_QUIC_THREAD_ASSIST) /* Main loop for the QUIC assist thread. */ static unsigned int assist_thread_main(void *arg) -- 2.47.2