{"action":"created","issue":{"url":"https://api.github.com/repos/bagder/curl/issues/219","labels_url":"https://api.github.com/repos/bagder/curl/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/bagder/curl/issues/219/comments","events_url":"https://api.github.com/repos/bagder/curl/issues/219/events","html_url":"https://github.com/bagder/curl/issues/219","id":68624903,"number":219,"title":"Erroneous debug text when paired with OpenSSL 1.0.2 ","user":{"login":"wahjava","id":2255192,"avatar_url":"https://avatars.githubusercontent.com/u/2255192?v=3","gravatar_id":"","url":"https://api.github.com/users/wahjava","html_url":"https://github.com/wahjava","followers_url":"https://api.github.com/users/wahjava/followers","following_url":"https://api.github.com/users/wahjava/following{/other_user}","gists_url":"https://api.github.com/users/wahjava/gists{/gist_id}","starred_url":"https://api.github.com/users/wahjava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wahjava/subscriptions","organizations_url":"https://api.github.com/users/wahjava/orgs","repos_url":"https://api.github.com/users/wahjava/repos","events_url":"https://api.github.com/users/wahjava/events{/privacy}","received_events_url":"https://api.github.com/users/wahjava/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bagder/curl/labels/SSL/TLS","name":"SSL/TLS","color":"bfdadc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-15T09:23:05Z","updated_at":"2015-05-05T06:39:01Z","closed_at":"2015-05-04T10:32:24Z","body":"When running `curl-7.41.0` on FreeBSD 10.1-RELEASE compiled with `openssl-1.0.2`, I get following erroneous debug messages:\r\n\r\n```\r\nλ curl -svv -o /dev/null 'https://www.freebsd.org/'\r\n*   Trying 8.8.178.110...\r\n*   Trying 2001:1900:2254:206a::50:0...\r\n* Connected to www.freebsd.org (8.8.178.110) port 443 (#0)\r\n* successfully set certificate verify locations:\r\n*   CAfile: /usr/local/share/certs/ca-root-nss.crt\r\n  CApath: none\r\n* TLSv1.2, TLS Unknown, Unknown (22):\r\n} [5 bytes data]\r\n* TLSv1.2, TLS handshake, Client hello (1):\r\n} [512 bytes data]\r\n* SSLv2, Unknown (22):\r\n{ [5 bytes data]\r\n* TLSv1.2, TLS handshake, Server hello (2):\r\n{ [98 bytes data]\r\n* SSLv2, Unknown (22):\r\n{ [5 bytes data]\r\n* TLSv1.2, TLS handshake, CERT (11):\r\n{ [4469 bytes data]\r\n* SSLv2, Unknown (22):\r\n{ [5 bytes data]\r\n* TLSv1.2, TLS handshake, Server key exchange (12):\r\n{ [589 bytes data]\r\n* SSLv2, Unknown (22):\r\n{ [5 bytes data]\r\n* TLSv1.2, TLS handshake, Server finished (14):\r\n{ [4 bytes data]\r\n* SSLv2, Unknown (22):\r\n} [5 bytes data]\r\n* TLSv1.2, TLS handshake, Client key exchange (16):\r\n} [70 bytes data]\r\n* SSLv2, Unknown (20):\r\n} [5 bytes data]\r\n* TLSv1.2, TLS change cipher, Client hello (1):\r\n} [1 bytes data]\r\n* SSLv2, Unknown (22):\r\n} [5 bytes data]\r\n* TLSv1.2, TLS handshake, Finished (20):\r\n} [16 bytes data]\r\n* SSLv2, Unknown (20):\r\n{ [5 bytes data]\r\n* TLSv1.2, TLS change cipher, Client hello (1):\r\n{ [1 bytes data]\r\n* SSLv2, Unknown (22):\r\n{ [5 bytes data]\r\n* TLSv1.2, TLS handshake, Finished (20):\r\n{ [16 bytes data]\r\n* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256\r\n* Server certificate:\r\n*        subject: OU=Domain Control Validated; OU=Gandi Standard Wildcard SSL; CN=*.freebsd.org\r\n*        start date: 2014-11-18 00:00:00 GMT\r\n*        expire date: 2015-11-18 23:59:59 GMT\r\n*        subjectAltName: www.freebsd.org matched\r\n*        issuer: C=FR; ST=Paris; L=Paris; O=Gandi; CN=Gandi Standard SSL CA 2\r\n*        SSL certificate verify ok.\r\n* SSLv2, Unknown (23):\r\n} [5 bytes data]\r\n> GET / HTTP/1.1\r\n> User-Agent: curl/7.41.0\r\n> Host: www.freebsd.org\r\n> Accept: */*\r\n> \r\n* SSLv2, Unknown (23):\r\n{ [5 bytes data]\r\n< HTTP/1.1 200 OK\r\n< Date: Sun, 05 Apr 2015 03:22:12 GMT\r\n< Content-Type: text/html\r\n< Transfer-Encoding: chunked\r\n< Connection: keep-alive\r\n< Last-Modified: Sun, 05 Apr 2015 03:10:15 GMT\r\n< ETag: \"5520a797-6f25\"\r\n< Server: ToTheCloud/v0.01\r\n< X-Varnish: 1938974843 1938974183\r\n< Age: 25\r\n< Via: 1.1 wfe0.ysv.FreeBSD.org\r\n< X-Cache: HIT\r\n< Strict-Transport-Security: max-age=31536000; includeSubdomains\r\n< \r\n{ [3820 bytes data]\r\n* SSLv2, Unknown (23):\r\n{ [5 bytes data]\r\n* SSLv2, Unknown (23):\r\n{ [5 bytes data]\r\n* SSLv2, Unknown (23):\r\n{ [5 bytes data]\r\n* SSLv2, Unknown (23):\r\n{ [5 bytes data]\r\n* SSLv2, Unknown (23):\r\n{ [5 bytes data]\r\n* SSLv2, Unknown (23):\r\n{ [5 bytes data]\r\n* SSLv2, Unknown (23):\r\n{ [5 bytes data]\r\n* SSLv2, Unknown (23):\r\n{ [5 bytes data]\r\n* Connection #0 to host www.freebsd.org left intact\r\n```\r\n\r\nAs reported in the [original bug report](https://sourceforge.net/p/curl/bugs/1481/), it seems to happen on Windows as well.\r\n\r\nLet us know if you need any other information.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/bagder/curl/issues/comments/98969172","html_url":"https://github.com/bagder/curl/issues/219#issuecomment-98969172","issue_url":"https://api.github.com/repos/bagder/curl/issues/219","id":98969172,"user":{"login":"bagder","id":177011,"avatar_url":"https://avatars.githubusercontent.com/u/177011?v=3","gravatar_id":"","url":"https://api.github.com/users/bagder","html_url":"https://github.com/bagder","followers_url":"https://api.github.com/users/bagder/followers","following_url":"https://api.github.com/users/bagder/following{/other_user}","gists_url":"https://api.github.com/users/bagder/gists{/gist_id}","starred_url":"https://api.github.com/users/bagder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bagder/subscriptions","organizations_url":"https://api.github.com/users/bagder/orgs","repos_url":"https://api.github.com/users/bagder/repos","events_url":"https://api.github.com/users/bagder/events{/privacy}","received_events_url":"https://api.github.com/users/bagder/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T06:39:01Z","updated_at":"2015-05-05T06:39:01Z","body":"Ok, goodie. Then I wasn't hallucinating too badly! =)"}}