]> git.ipfire.org Git - thirdparty/curl.git/commit
schannel: deduplicate Windows Vista detection
authorViktor Szakats <commit@vsz.me>
Thu, 20 Feb 2025 16:46:57 +0000 (17:46 +0100)
committerViktor Szakats <commit@vsz.me>
Fri, 21 Feb 2025 10:48:56 +0000 (11:48 +0100)
commit540d341b386d2865c14438553e734b4ccdd510ee
tree17eb90b6abcbf258115338923fa96f6bf0eccb26
parent5693e3fa8882bb7386198f84ce5ea8ee2cea15df
schannel: deduplicate Windows Vista detection

curl detects Vista as part of its global initialization. Use that result
instead of detecting it again in Schannel, to save some cycles and API
calls.

Follow-up to 46e97b10ba917aed55f079b89c1dfe54955a4a62 #16400
Closes #16408
lib/vtls/schannel.c