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