mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
wininet: Don't bother reconnecting to server for compat secure mode if we don't have compat cred handle.
This commit is contained in:
parent
b0ef7b401c
commit
77ed56cffb
@ -659,7 +659,7 @@ DWORD NETCON_secure_connect(netconn_t *connection, server_t *server)
|
||||
|
||||
/* FIXME: when got version alert and FIN from server */
|
||||
/* fallback to connect without TLSv1.1/TLSv1.2 */
|
||||
if (res == ERROR_INTERNET_SECURITY_CHANNEL_ERROR)
|
||||
if (res == ERROR_INTERNET_SECURITY_CHANNEL_ERROR && have_compat_cred_handle)
|
||||
{
|
||||
closesocket(connection->socket);
|
||||
res = create_netconn_socket(connection->server, connection, 500);
|
||||
|
Loading…
Reference in New Issue
Block a user