[PATCH] wininet: TLS fallback mechanism (take2)
Hiroshi Miura
miurahr at linux.com
Sat Oct 27 08:58:54 CDT 2012
Hi,
My updated patch which is Message-ID: <5089BDA7.3040806 at linux.com>
is not properly treated in http://source.winehq.org/patches
http://source.winehq.org/patches/data/91337
New one is removed, and the one that make compile error in older openssl is tagged as new.
Hiroshi Miura wrote:
> OpenSSL 1.0.x now support TLSv1.1 and TLSv1.2.
> Sometimes TLSv1.1/1.2 negotiation fails bacause of combination
> of server/client ssl library versions.
> It fixes the error connecting Evernote server with evernote client.
> http://bugs.winehq.org/show_bug.cgi?id=30598
>
> It has also mechanism enable/disable TLSv1.1/1.2 by registry entry under
> SYSTEM/CurrentControlSet/Control/SecurityProvider/SCHANNEL/Protocols/
> where is as same place as Windows7.
> TLSv1.1/1.2 is enabled when the registry entry does not exist.
>
> Signed-off-by: Hiroshi Miura <miurahr at linux.com>
> ---
> dlls/wininet/netconnection.c | 169 ++++++++++++++++++++++++++++++++----------
> 1 file changed, 130 insertions(+), 39 deletions(-)
>
> diff --git a/dlls/wininet/netconnection.c b/dlls/wininet/netconnection.c
> index c944ff3..9b5f7e7 100644
> --- a/dlls/wininet/netconnection.c
> +++ b/dlls/wininet/netconnection.c
<snip>
> +#ifdef SSL_OP_NO_TLSv1_2
> +static long get_tls_option(void) {
> + long tls_option;
<snip>
Hiroshi
More information about the wine-devel
mailing list