From 08acef2aabfaa549a1d627f637ba5f23acd85d35 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 30 Jul 2025 22:33:26 +0200 Subject: [PATCH] schannel: assume `CERT_CHAIN_REVOCATION_CHECK_CHAIN` Always available in supported mingw-w64 and MSVC compilers, except in UWP mode. For mingw32ce this macro is defined later in the code. Also available in OpenWatcom 2. https://github.com/open-watcom/open-watcom-v2/blob/ce6c37eb29f3fda95f9c4e8e37dee866b8c4e496/bld/w32api/include/winerror.mh Closes #18108 --- lib/vtls/schannel_int.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/vtls/schannel_int.h b/lib/vtls/schannel_int.h index d5ddee280c..a8ebf74c67 100644 --- a/lib/vtls/schannel_int.h +++ b/lib/vtls/schannel_int.h @@ -30,8 +30,7 @@ #include "vtls.h" -#if (defined(__MINGW32CE__) || defined(CERT_CHAIN_REVOCATION_CHECK_CHAIN)) && \ - !defined(CURL_WINDOWS_UWP) +#ifndef CURL_WINDOWS_UWP #define HAS_MANUAL_VERIFY_API #endif -- 2.47.2