]> git.feebdaed.xyz Git - 0xmirror/curl.git/commit
schannel: use Win8 `CERT_NAME_SEARCH_ALL_NAMES_FLAG` with old SDKs
authorViktor Szakats <commit@vsz.me>
Tue, 16 Dec 2025 16:26:46 +0000 (17:26 +0100)
committerViktor Szakats <commit@vsz.me>
Tue, 16 Dec 2025 19:41:11 +0000 (20:41 +0100)
commit8dadff9434d1bfacd61f2809b6a46141c8c751b0
tree4b8adf2840ebf15300e46a765ddae881c64ff403
parent5196abad7313dbdfb861ab54dd57d78c81465867
schannel: use Win8 `CERT_NAME_SEARCH_ALL_NAMES_FLAG` with old SDKs

Define `CERT_NAME_SEARCH_ALL_NAMES_FLAG` macro if missing.
To allow using a runtime branch regardless of build-time SDK version,
when running on Windows 8+.

In practice it enables this branch for builds using mingw-w64 v3, and
MSVC with Windows SDK <8.

Also reducing build variations.

Follow-up to 29e40a6d8a70630dd8eaa15beded205792342d08 #4761 #3711
Follow-up to 899630021153b2a26a43008cccc6620b6c3f9bbf #1325
Follow-up to 172b2beba6b89b632c09be7a88645e3a0607cfe9 #264 (comment)

Closes #20000
lib/vtls/schannel_verify.c