Hans Leidekker : winhttp: Handle renegotiate requests.

Alexandre Julliard julliard at winehq.org
Tue Apr 7 15:27:16 CDT 2020


Module: wine
Branch: master
Commit: 034b5e70cebfaa56f6b351e91183c580b64a5e11
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=034b5e70cebfaa56f6b351e91183c580b64a5e11

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Tue Apr  7 10:22:05 2020 +0200

winhttp: Handle renegotiate requests.

Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/winhttp/net.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dlls/winhttp/net.c b/dlls/winhttp/net.c
index c88def5b51..2905d5c535 100644
--- a/dlls/winhttp/net.c
+++ b/dlls/winhttp/net.c
@@ -484,6 +484,10 @@ static DWORD read_ssl_chunk( struct netconn *conn, void *buf, SIZE_T buf_size, S
         case SEC_E_OK:
             break;
 
+        case SEC_I_RENEGOTIATE:
+            TRACE("renegotiate\n");
+            return ERROR_WINHTTP_CLIENT_AUTH_CERT_NEEDED;
+
         case SEC_I_CONTEXT_EXPIRED:
             TRACE("context expired\n");
             *eof = TRUE;




More information about the wine-cvs mailing list