From: Viktor Szakats Date: Thu, 31 Jul 2025 05:42:50 +0000 (+0200) Subject: windows: document toolchain support for some macros (cont.) X-Git-Tag: curl-8_16_0~306 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5f99b45693e9d649397b7b7781f498d9c175bfa2;p=thirdparty%2Fcurl.git windows: document toolchain support for some macros (cont.) Follow-up to 3bfcfe82b9e7fe18cdbd3a06b219a8ce40188a23 #18085 Closes #18113 --- diff --git a/lib/vtls/schannel.c b/lib/vtls/schannel.c index 34d48126b4..6226f427bf 100644 --- a/lib/vtls/schannel.c +++ b/lib/vtls/schannel.c @@ -81,26 +81,26 @@ #endif #endif +/* Offered by mingw-w64 v8+. MS SDK 7.0A+. */ #ifndef SP_PROT_TLS1_0_CLIENT #define SP_PROT_TLS1_0_CLIENT SP_PROT_TLS1_CLIENT #endif - #ifndef SP_PROT_TLS1_1_CLIENT #define SP_PROT_TLS1_1_CLIENT 0x00000200 #endif - #ifndef SP_PROT_TLS1_2_CLIENT #define SP_PROT_TLS1_2_CLIENT 0x00000800 #endif +/* Offered by mingw-w64 v8+. MS SDK ~10+/~VS2017+. */ #ifndef SP_PROT_TLS1_3_CLIENT #define SP_PROT_TLS1_3_CLIENT 0x00002000 #endif - #ifndef SCH_USE_STRONG_CRYPTO #define SCH_USE_STRONG_CRYPTO 0x00400000 #endif +/* Offered by mingw-w64 v10+. MS SDK 7.0A+. */ #ifndef SECBUFFER_ALERT #define SECBUFFER_ALERT 17 #endif