Module: wine Branch: master Commit: 9373d4c5780aee66f4c463741e3d3de192aaef55 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9373d4c5780aee66f4c463741e...
Author: Hans Leidekker hans@codeweavers.com Date: Wed Dec 11 10:47:54 2013 +0100
wininet: Return an error when ensure_cred_handle fails.
---
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 b1368bf..c8879b6 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)