From 9373d4c5780aee66f4c463741e3d3de192aaef55 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Wed, 11 Dec 2013 10:47:54 +0100 Subject: [PATCH] wininet: Return an error when ensure_cred_handle fails. --- dlls/wininet/netconnection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wininet/netconnection.c b/dlls/wininet/netconnection.c index b1368bf86c9..c8879b625f1 100644 --- a/dlls/wininet/netconnection.c +++ b/dlls/wininet/netconnection.c @@ -494,7 +494,7 @@ static DWORD netcon_secure_connect_setup(netconn_t *connection, BOOL compat_mode |ISC_REQ_SEQUENCE_DETECT|ISC_REQ_REPLAY_DETECT|ISC_REQ_MANUAL_CRED_VALIDATION; if(!ensure_cred_handle()) - return FALSE; + return ERROR_INTERNET_SECURITY_CHANNEL_ERROR; if(compat_mode) { if(!have_compat_cred_handle) -- 2.11.4.GIT