Commit d22e21f9 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

winhttp: Verify certificates against the hostname instead of the server name.

The server name is different when connections are made through a proxy server. Signed-off-by: 's avatarHans Leidekker <hans@codeweavers.com>
parent 7a485dd1
......@@ -1051,7 +1051,7 @@ static BOOL open_connection( request_t *request )
return FALSE;
}
}
if (!netconn_secure_connect( &request->netconn, connect->servername ))
if (!netconn_secure_connect( &request->netconn, connect->hostname ))
{
netconn_close( &request->netconn );
heap_free( addressW );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment