mirror of
https://github.com/curl/curl.git
synced 2025-09-17 09:32:48 +03:00
schannel: re-indent to use curl style better
Only white space changes Closes #9301
This commit is contained in:
parent
2f0056680f
commit
193772084f
|
@ -221,10 +221,9 @@ set_ssl_version_min_max(DWORD *enabled_protocols, struct Curl_easy *data,
|
||||||
case CURL_SSLVERSION_MAX_NONE:
|
case CURL_SSLVERSION_MAX_NONE:
|
||||||
case CURL_SSLVERSION_MAX_DEFAULT:
|
case CURL_SSLVERSION_MAX_DEFAULT:
|
||||||
|
|
||||||
/* Windows Server 2022 and newer (including Windows 11)
|
/* Windows Server 2022 and newer (including Windows 11) support TLS 1.3
|
||||||
support TLS 1.3 built-in. Previous builds of Windows 10
|
built-in. Previous builds of Windows 10 had broken TLS 1.3
|
||||||
had broken TLS 1.3 implementations that could be enabled
|
implementations that could be enabled via registry.
|
||||||
via registry.
|
|
||||||
*/
|
*/
|
||||||
if(curlx_verify_windows_version(10, 0, 20348, PLATFORM_WINNT,
|
if(curlx_verify_windows_version(10, 0, 20348, PLATFORM_WINNT,
|
||||||
VERSION_GREATER_THAN_EQUAL)) {
|
VERSION_GREATER_THAN_EQUAL)) {
|
||||||
|
@ -668,7 +667,8 @@ schannel_acquire_credential_handle(struct Curl_easy *data,
|
||||||
if(pwd_len > 0)
|
if(pwd_len > 0)
|
||||||
str_w_len = MultiByteToWideChar(CP_UTF8,
|
str_w_len = MultiByteToWideChar(CP_UTF8,
|
||||||
MB_ERR_INVALID_CHARS,
|
MB_ERR_INVALID_CHARS,
|
||||||
data->set.ssl.key_passwd, (int)pwd_len,
|
data->set.ssl.key_passwd,
|
||||||
|
(int)pwd_len,
|
||||||
pszPassword, (int)(pwd_len + 1));
|
pszPassword, (int)(pwd_len + 1));
|
||||||
|
|
||||||
if((str_w_len >= 0) && (str_w_len <= (int)pwd_len))
|
if((str_w_len >= 0) && (str_w_len <= (int)pwd_len))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user