From: Viktor Szakats Date: Tue, 29 Jul 2025 17:11:35 +0000 (+0200) Subject: schannel: drop old-mingw special case X-Git-Tag: curl-8_16_0~330 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=952c929bdf70645ee263c45a19518ae976a0292d;p=thirdparty%2Fcurl.git schannel: drop old-mingw special case mingw-w64 always defines `CERT_CHAIN_REVOCATION_CHECK_CHAIN`. Also confirmed in CI. Follow-up to 38029101e2d78ba125732b3bab6ec267b80a0e72 #11625 Ref: a28f5f68b965119d9dd1ab6c2a2ccc66c6ed5d1f #18010 Closes #18084 --- diff --git a/lib/vtls/schannel_int.h b/lib/vtls/schannel_int.h index 8717919259..afcadd7180 100644 --- a/lib/vtls/schannel_int.h +++ b/lib/vtls/schannel_int.h @@ -30,8 +30,7 @@ #include "vtls.h" -#if (defined(__MINGW32__) || defined(CERT_CHAIN_REVOCATION_CHECK_CHAIN)) && \ - !defined(CURL_WINDOWS_UWP) +#if defined(CERT_CHAIN_REVOCATION_CHECK_CHAIN) && !defined(CURL_WINDOWS_UWP) #define HAS_MANUAL_VERIFY_API #endif