]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
schannel: assume `CERT_CHAIN_REVOCATION_CHECK_CHAIN`
authorViktor Szakats <commit@vsz.me>
Wed, 30 Jul 2025 20:33:26 +0000 (22:33 +0200)
committerViktor Szakats <commit@vsz.me>
Wed, 30 Jul 2025 22:41:36 +0000 (00:41 +0200)
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

index d5ddee280c1bd5b631e260f17518dbd550283994..a8ebf74c675419bb5044a5d9454b140a055e7bbd 100644 (file)
@@ -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