[Bug 30598] Evernote can't connect to server

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Sep 1 01:34:51 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=30598

--- Comment #30 from Hiroshi Miura <miurahr at linux.com> 2012-09-01 01:34:51 CDT ---
This program(In reply to comment #29)
> (In reply to comment #28)
> > Created attachment 41486 [details]
> > test program binary
> 
> What is this program supposed to do? It seems to download several packets for
> me in wine 1.5.12 and then it dumps a html page.

This program connect https://www.evernote.com and get html using wininet dll.
When your WINE/OpenSSL is affected this bug, you see error message of program
and wine.

If you use Wine with openssl 1.0.1 and later,  you will see like

$ wine wine_wininet_tls_test.exe  > test.html
err:wininet:NETCON_secure_connect SSL_connect failed: 12157

With my patch,  
$  wine wine_wininet_tls_test.exe  > test.html
may successfully get html from evernote.com

edit registry to support TLS1.1/1.2 
$ wine regedit
  import tls12_enable.reg 

You will see same result with unpatched version.
$ wine wine_wininet_tls_test.exe  > test.html
err:wininet:NETCON_secure_connect SSL_connect failed: 12157

and then disable TLS1.1/1.2 with registry by regedit  importing
tls12_disable.reg
you will see successfully get html.


If you use OpenSSL 1.0.0h and before such as 0.9.8m,
 which is not support TLS1.1/1.2, 
 you always success to get html from evernote.com using test program.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list