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.
ce6c37eb29/bld/w32api/include/winerror.mh

Closes #18108
This commit is contained in:
Viktor Szakats 2025-07-30 22:33:26 +02:00
parent 25119fbaaa
commit 08acef2aab
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View 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