From: Milan Broz Date: Mon, 4 May 2026 14:13:26 +0000 (+0000) Subject: async_posix.h: remove unreachable OPENSSL_SYS_TANDEM X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b391338239f2c3d46e5e9a83f08f4ec6e57fcd70;p=thirdparty%2Fopenssl.git async_posix.h: remove unreachable OPENSSL_SYS_TANDEM The top-level #if requires !defined(OPENSSL_SYS_TANDEM): #if defined(OPENSSL_SYS_UNIX) \ && defined(OPENSSL_THREADS) && !defined(OPENSSL_NO_ASYNC) \ && !defined(__ANDROID__) && !defined(__OpenBSD__) \ && !defined(OPENSSL_SYS_TANDEM) so the nested #if defined(OPENSSL_SYS_TANDEM) #include #else #include #endif can never select the OPENSSL_SYS_TANDEM condition. According to discussion on the issue 31074, removal of the second (unreachable) condition is the way to go. Fixes #31074 Co-Authored-By: Claude Opus 4.7 Reviewed-by: Saša Nedvědický Reviewed-by: Eugene Syromiatnikov Reviewed-by: Neil Horman MergeDate: Thu May 7 20:11:08 2026 (Merged from https://github.com/openssl/openssl/pull/31076) --- diff --git a/crypto/async/async_local.h b/crypto/async/async_local.h index b41309ac41d..e1d11134646 100644 --- a/crypto/async/async_local.h +++ b/crypto/async/async_local.h @@ -94,11 +94,7 @@ VOID CALLBACK async_start_func_win(PVOID unused); */ #define USE_SWAPCONTEXT #endif -#if defined(OPENSSL_SYS_TANDEM) -#include -#else #include -#endif #ifndef USE_SWAPCONTEXT #include #endif