Debug logs for TLS alerts contain wrong messages #2806
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 -V output]
The text was updated successfully, but these errors were encountered:
Gist of code used to reproduce:
It seems to me that the detailed messages are only valid for TLS handshake, for other message types they don't make sense.