{"action":"created","issue":{"url":"https://api.github.com/repos/curl/curl/issues/983","repository_url":"https://api.github.com/repos/curl/curl","labels_url":"https://api.github.com/repos/curl/curl/issues/983/labels{/name}","comments_url":"https://api.github.com/repos/curl/curl/issues/983/comments","events_url":"https://api.github.com/repos/curl/curl/issues/983/events","html_url":"https://github.com/curl/curl/issues/983","id":173335767,"number":983,"title":"HTTPS fails when running curl/libcurl using wine","user":{"login":"cfillion","id":4297676,"avatar_url":"https://avatars.githubusercontent.com/u/4297676?v=3","gravatar_id":"","url":"https://api.github.com/users/cfillion","html_url":"https://github.com/cfillion","followers_url":"https://api.github.com/users/cfillion/followers","following_url":"https://api.github.com/users/cfillion/following{/other_user}","gists_url":"https://api.github.com/users/cfillion/gists{/gist_id}","starred_url":"https://api.github.com/users/cfillion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfillion/subscriptions","organizations_url":"https://api.github.com/users/cfillion/orgs","repos_url":"https://api.github.com/users/cfillion/repos","events_url":"https://api.github.com/users/cfillion/events{/privacy}","received_events_url":"https://api.github.com/users/cfillion/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/curl/curl/labels/SSL/TLS","name":"SSL/TLS","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-08-25T23:31:54Z","updated_at":"2016-08-26T21:37:46Z","closed_at":null,"body":"### I did this\r\n\r\n```\r\nwine curl.exe https://github.com > /dev/null\r\nGnuTLS error: An unexpected TLS packet was received.\r\ncurl: (35) schannel: initial InitializeSecurityContext failed: SEC_E_INVALID_TOKEN (0x80090308)\r\n```\r\n\r\n\r\nCurl was built on Windows 10 with Visual Studio 2015 using\r\n```\r\nnmake /f Makefile.vc mode=static RTLIBCFG=static MACHINE=x64\r\n```\r\n\r\n### I expected the following\r\n\r\nSuccessful download with curl.exe and programs using libcurl.\r\n\r\n### curl/libcurl version\r\n\r\n- It works with 7.48\r\n- 7.49 fails with `schannel: failed to retrieve ALPN result`\r\n- 7.50 fails with `schannel: initial InitializeSecurityContext failed: SEC_E_INVALID_TOKEN` after setting winecfg's Windows Version to < Windows 8 as per #840, otherwise same as 7.49\r\n\r\n### operating system\r\n\r\nCurl was ran with wine v1.9.17 on ArchLinux."},"comment":{"url":"https://api.github.com/repos/curl/curl/issues/comments/242858222","html_url":"https://github.com/curl/curl/issues/983#issuecomment-242858222","issue_url":"https://api.github.com/repos/curl/curl/issues/983","id":242858222,"user":{"login":"jay","id":965580,"avatar_url":"https://avatars.githubusercontent.com/u/965580?v=3","gravatar_id":"","url":"https://api.github.com/users/jay","html_url":"https://github.com/jay","followers_url":"https://api.github.com/users/jay/followers","following_url":"https://api.github.com/users/jay/following{/other_user}","gists_url":"https://api.github.com/users/jay/gists{/gist_id}","starred_url":"https://api.github.com/users/jay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jay/subscriptions","organizations_url":"https://api.github.com/users/jay/orgs","repos_url":"https://api.github.com/users/jay/repos","events_url":"https://api.github.com/users/jay/events{/privacy}","received_events_url":"https://api.github.com/users/jay/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T21:37:46Z","updated_at":"2016-08-26T21:37:46Z","body":"The workaround landed in 895168b.\r\n\r\n@JDepooter I am able to reproduce those other problems in Ubuntu 16 LTS with packaged wine-1.6.2 but I don't have a solution. What version of Wine are you using? I think it's possible it was a bug fixed in a later version since Christian has success in 1.9.x"}}
{"actor":{"display_login":"jay"}}