Hans Leidekker : winhttp: Remove assertion that is no longer valid in Windows 10.
Alexandre Julliard
julliard at winehq.org
Thu Jun 30 16:35:34 CDT 2022
Module: wine
Branch: master
Commit: 80a2c664411120ada327d2bac8e7390016e63979
URL: https://source.winehq.org/git/wine.git/?a=commit;h=80a2c664411120ada327d2bac8e7390016e63979
Author: Hans Leidekker <hans at codeweavers.com>
Date: Thu Jun 30 12:52:03 2022 +0200
winhttp: Remove assertion that is no longer valid in Windows 10.
---
dlls/winhttp/net.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winhttp/net.c b/dlls/winhttp/net.c
index 40c9f3c8534..be776ae2971 100644
--- a/dlls/winhttp/net.c
+++ b/dlls/winhttp/net.c
@@ -350,7 +350,7 @@ DWORD netconn_secure_connect( struct netconn *conn, WCHAR *hostname, DWORD secur
}
assert(in_bufs[0].BufferType == SECBUFFER_TOKEN);
- assert(in_bufs[1].BufferType == SECBUFFER_EMPTY);
+ in_bufs[1].BufferType = SECBUFFER_EMPTY;
if(in_bufs[0].cbBuffer + 1024 > read_buf_size) {
BYTE *new_read_buf;
More information about the wine-cvs
mailing list