From: Sebastian Andrzej Siewior Date: Sat, 21 Mar 2026 14:35:02 +0000 (+0100) Subject: apps: Move PATH_MAX define out of the win32 block X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33958827f7ca17f02fdea18b9585ad31daab8a41;p=thirdparty%2Fopenssl.git apps: Move PATH_MAX define out of the win32 block The PATH_MAX define is needed on HURD which is now skipped since it is winthin the _WIN32 block. Move the PATH_MAX check+define outside of the _WIN32 block. Fixes: a2e5848d9d11 "s_client and s_server options for ECH" Signed-off-by: Sebastian Andrzej Siewior Reviewed-by: Eugene Syromiatnikov Reviewed-by: Nikola Pajkovsky Reviewed-by: Tomas Mraz MergeDate: Sun Apr 26 11:35:52 2026 (Merged from https://github.com/openssl/openssl/pull/30520) --- diff --git a/apps/s_server.c b/apps/s_server.c index cd5a8aab97c..bcb26cb2851 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -18,10 +18,10 @@ #if defined(_WIN32) /* Included before async.h to avoid some warnings */ #include +#endif #if !defined(OPENSSL_NO_ECH) && !defined(PATH_MAX) #define PATH_MAX 4096 #endif -#endif #include #include