[1/3] wininet: Return an error when ensure_cred_handle fails.
Hans Leidekker
hans at codeweavers.com
Wed Dec 11 03:47:54 CST 2013
---
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 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)
--
1.8.5.1
More information about the wine-patches
mailing list