]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
schannel: shut off experimental TLS 1.3 support for Win 10
authorEmmanuel Ugwu <emmanuelugwu121@gmail.com>
Tue, 30 Jun 2026 20:07:17 +0000 (21:07 +0100)
committerJay Satiro <raysatiro@yahoo.com>
Wed, 1 Jul 2026 07:37:35 +0000 (03:37 -0400)
- Change minimum Windows version for TLS 1.3 support to
  Windows Server 2022.

Prior to this change Windows Server 2022 was already used as the minimum
version in some but not all of the checks for TLS 1.3 support.

Ref: https://github.com/curl/curl/pull/21719#issuecomment-4520234306
Ref: https://github.com/curl/curl/issues/21702

Signed-off-by: Emmanuel Ugwu <emmanuelugwu121@gmail.com>
Closes https://github.com/curl/curl/pull/22231

lib/vtls/schannel.c

index 72aedabc7c62ab9bf13f7cd6a8b016015d7b8f99..d322c755e88d402faa96b2fad3dd61588a6a59d2 100644 (file)
@@ -593,11 +593,10 @@ static CURLcode acquire_sspi_handle(struct Curl_cfilter *cf,
   SECURITY_STATUS sspi_status = SEC_E_OK;
   CURLcode result;
 
-  /* We support TLS 1.3 starting in Windows 10 version 1809 (OS build 17763) as
-     long as the user did not set a legacy algorithm list
-     (CURLOPT_SSL_CIPHER_LIST). */
+  /* We support TLS 1.3 starting in Windows Server 2022 or later
+   * (OS build 20348) */
   if(!conn_config->cipher_list &&
-     curlx_verify_windows_version(10, 0, 17763, PLATFORM_WINNT,
+     curlx_verify_windows_version(10, 0, 20348, PLATFORM_WINNT,
                                   VERSION_GREATER_THAN_EQUAL)) {
 
     SCH_CREDENTIALS credentials = { 0 };