From: Viktor Szakats Date: Wed, 30 Jul 2025 20:33:26 +0000 (+0200) Subject: schannel: assume `CERT_CHAIN_REVOCATION_CHECK_CHAIN` X-Git-Tag: curl-8_16_0~309 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=08acef2aabfaa549a1d627f637ba5f23acd85d35;p=thirdparty%2Fcurl.git 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 --- 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