-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debug logs for TLS alerts contain wrong messages #2806
Comments
Any suggestion on how to reproduce this? |
Gist of code used to reproduce:
Debug function:
It seems to me that the detailed messages are only valid for TLS handshake, for other message types they don't make sense. |
While examining debug output of #2801, I noticed that the debug output for TLS alerts is garbage. The output currently reads:
I expected the following
curl/libcurl version
[curl -V output]
curl 7.60.0 (i386-pc-win32) libcurl/7.60.0 OpenSSL/1.1.0h (WinSSL) zlib/1.2.11 brotli/1.0.4 WinIDN libssh2/1.8.0 nghttp2/1.32.0
Release-Date: 2018-05-16
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile SSPI Kerberos SPNEGO NTLM SSL libz brotli TLS-SRP HTTP2 HTTPS-proxy MultiSSL
operating system
Windows 2008R2
The text was updated successfully, but these errors were encountered: