You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-08 14:02:17 +03:00
Windows Server 2022 uses version number 10.0.20348, which is less than 10.0.22000. Therefore, instead of checking for build numbers >= 22000 (which would exclude Server 2022), we must check for build numbers >= 20348 to correctly include both Windows Server 2022 and Windows 11. This is safe because TLSv1.3 was first supported in: - Windows 11 (starting with build 22000) - Windows Server 2022 (starting with build 20348) Earlier versions did not support TLSv1.3: - Windows 10 (up to build 19044) - Windows Server 2019 (latest build 17763)