mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:33:32 +03:00
version_win32: Check build number and platform id
Prior to this change the build number was not checked during version comparison, and the platform id was supposed to be checked but wasn't. Checking the build number is required for enabling "evergreen" Windows 10/11 features (like TLS 1.3). Ref: https://github.com/curl/curl/pull/7784 Closes https://github.com/curl/curl/pull/7824 Closes https://github.com/curl/curl/pull/7867
This commit is contained in:
parent
3467e89bb9
commit
7da636cad5
8 changed files with 77 additions and 27 deletions
|
|
@ -768,7 +768,7 @@ CURLcode win32_init(void)
|
|||
{
|
||||
/* curlx_verify_windows_version must be called during init at least once
|
||||
because it has its own initialization routine. */
|
||||
if(curlx_verify_windows_version(6, 0, PLATFORM_WINNT,
|
||||
if(curlx_verify_windows_version(6, 0, 0, PLATFORM_WINNT,
|
||||
VERSION_GREATER_THAN_EQUAL))
|
||||
tool_isVistaOrGreater = true;
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue