https://bugs.winehq.org/show_bug.cgi?id=41218
Bug ID: 41218 Summary: curl 7.50: HTTPS fails with InitializeSecurityContext failed: SEC_E_INVALID_TOKEN Product: Wine Version: 1.9.17 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: secur32 Assignee: wine-bugs@winehq.org Reporter: cfillion30@gmail.com Distribution: ---
Created attachment 55482 --> https://bugs.winehq.org/attachment.cgi?id=55482 Output of curl 7.50
This was originally reported as a curl bug: https://github.com/curl/curl/issues/983
Curl/libcurl 7.50 fails to establish HTTPS connections on Wine with an SEC_E_INVALID_TOKEN error. See the comments on curl bug report for more details: it seems to be because curl is passing an empty input buffer to InitializeSecurityContext (it works when passing NULL instead).
It works on Windows.
To reproduce: wine curl-7.50.exe https://google.com
https://bugs.winehq.org/show_bug.cgi?id=41218
--- Comment #1 from Christian Fillion cfillion30@gmail.com --- Created attachment 55483 --> https://bugs.winehq.org/attachment.cgi?id=55483 Windows build of curl 7.50
https://bugs.winehq.org/show_bug.cgi?id=41218
--- Comment #2 from Christian Fillion cfillion30@gmail.com --- Created attachment 55484 --> https://bugs.winehq.org/attachment.cgi?id=55484 Wireshark capture of a failed HTTPS connection
https://bugs.winehq.org/show_bug.cgi?id=41218
--- Comment #3 from Christian Fillion cfillion30@gmail.com --- I forgot to mention that Windows Version must be set to Windows 7 or older in winecfg in order to reproduce this. (Otherwise curl 7.49–7.50 tries to use ALPN)
https://bugs.winehq.org/show_bug.cgi?id=41218
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source CC| |austinenglish@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=41218
raysatiro@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |raysatiro@yahoo.com
https://bugs.winehq.org/show_bug.cgi?id=41218
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com
--- Comment #4 from Jacek Caban jacek@codeweavers.com --- I sent a fix: http://source.winehq.org/patches/data/128854
Thanks for the report.
https://bugs.winehq.org/show_bug.cgi?id=41218
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c1f055d8dfda4cb4349db319a9e | |8734022d74895 Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #5 from Jacek Caban jacek@codeweavers.com --- Fixed in Git.
https://bugs.winehq.org/show_bug.cgi?id=41218
--- Comment #6 from raysatiro@yahoo.com --- Thanks Jacek
https://bugs.winehq.org/show_bug.cgi?id=41218
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.0-rc6.
https://bugs.winehq.org/show_bug.cgi?id=41218
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.8.x
https://bugs.winehq.org/show_bug.cgi?id=41218
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #8 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.7.