Module: wine Branch: master Commit: 77ed56cffbdb51311ccaa52e2752eca6defa7d5a URL: http://source.winehq.org/git/wine.git/?a=commit;h=77ed56cffbdb51311ccaa52e27...
Author: Jacek Caban jacek@codeweavers.com Date: Mon Apr 8 16:58:28 2013 +0200
wininet: Don't bother reconnecting to server for compat secure mode if we don't have compat cred handle.
---
dlls/wininet/netconnection.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wininet/netconnection.c b/dlls/wininet/netconnection.c index c3d700c..b1368bf 100644 --- a/dlls/wininet/netconnection.c +++ b/dlls/wininet/netconnection.c @@ -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);