]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
schannel: drop old-mingw special case
authorViktor Szakats <commit@vsz.me>
Tue, 29 Jul 2025 17:11:35 +0000 (19:11 +0200)
committerViktor Szakats <commit@vsz.me>
Tue, 29 Jul 2025 20:35:06 +0000 (22:35 +0200)
mingw-w64 always defines `CERT_CHAIN_REVOCATION_CHECK_CHAIN`.

Also confirmed in CI.

Follow-up to 38029101e2d78ba125732b3bab6ec267b80a0e72 #11625
Ref: a28f5f68b965119d9dd1ab6c2a2ccc66c6ed5d1f #18010
Closes #18084

lib/vtls/schannel_int.h

index 871791925993d170fdf606814f49590386200ce5..afcadd718061f774f751b8bebe5f6c97336a9e5d 100644 (file)
@@ -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