[Bug 16831] NETCON_secure_connect SSL_connect failed
wine-bugs at winehq.org
wine-bugs at winehq.org
Wed Jan 7 16:44:40 CST 2009
http://bugs.winehq.org/show_bug.cgi?id=16831
--- Comment #15 from TJ <support at tjworld.net> 2009-01-07 16:44:39 ---
Created an attachment (id=18564)
--> (http://bugs.winehq.org/attachment.cgi?id=18564)
Force HTTPS when INTERNET_FLAG_SECURE - v2
This is a much better implementation of option 4. It relies upon the assertion
that INTERNET_FLAG_SECURE and INTERNET_SCHEME_HTTP are mutually exclusive.
A small addition to InternetCrackUrlW() and a change to the calling statement
in INTERNET_InternetOpenUrlW() to ensure the dwFlags are passed to it.
This is tested and works correctly. Here's a trace fragment:
trace:wininet:InternetCrackUrlW
(L"http://www.audible.com/cgi-bin/licensemgr.cgi?"... 350 80800002 0x32c638)
...
trace:wininet:GetInternetSchemeW L"http" 4
trace:wininet:InternetCrackUrlW adjusting protocol to HTTPS since
INTERNET_FLAG_SECURE && "http:"
trace:wininet:SetUrlComponentValueW L"https" (5)
...
trace:wininet:NETCON_init using SSL connection
--
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