aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/unit1652.c
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2018-11-16 17:57:08 +0100
committerJay Satiro <raysatiro@yahoo.com>2018-11-16 16:03:31 -0500
commit27e4ac24cd1f8fcfac4d0673482b382f14613016 (patch)
treebaf66054a67a7866b91fd45aa2d7261a74e66d9f /tests/unit/unit1652.c
parent9cf7b7e66089ee2150ff6e5709a3cca91841ec0b (diff)
openssl: do not log excess "TLS app data" lines for TLS 1.3
The SSL_CTX_set_msg_callback callback is not just called for the Handshake or Alert protocols, but also for the raw record header (SSL3_RT_HEADER) and the decrypted inner record type (SSL3_RT_INNER_CONTENT_TYPE). Be sure to ignore the latter to avoid excess debug spam when using `curl -v` against a TLSv1.3-enabled server: * TLSv1.3 (IN), TLS app data, [no content] (0): (Following this message, another callback for the decrypted handshake/alert messages will be be present anyway.) Closes https://github.com/curl/curl/pull/3281
Diffstat (limited to 'tests/unit/unit1652.c')
0 files changed, 0 insertions, 0 deletions