diff options
author | Gisle Vanem <gisle.vanem@gmail.com> | 2021-08-31 14:08:34 +0200 |
---|---|---|
committer | Daniel Gustafsson <daniel@yesql.se> | 2021-09-01 22:46:21 +0200 |
commit | 3a6d30cfd32009ce89288a539ef4b1b8b7f00731 (patch) | |
tree | a4c1df63d2402b0839296d39ad5ccc7a59544668 | |
parent | 68784d73c3f8bc0d14502b4e1e930b1741c41699 (diff) | |
download | curl-3a6d30cfd32009ce89288a539ef4b1b8b7f00731.tar.gz |
openssl: annotate SSL3_MT_SUPPLEMENTAL_DATA
This adds support for the previously unhandled supplemental data which
in -v output was printed like:
TLSv1.2 (IN), TLS header, Unknown (23):
These will now be printed with proper annotation:
TLSv1.2 (OUT), TLS header, Supplemental data (23):
Closes #7652
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
-rw-r--r-- | lib/vtls/openssl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index 2d17acf1b..87f4b02b7 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -2060,6 +2060,10 @@ static const char *ssl_msg_type(int ssl_ver, int msg) case SSL3_MT_ENCRYPTED_EXTENSIONS: return "Encrypted Extensions"; #endif +#ifdef SSL3_MT_SUPPLEMENTAL_DATA + case SSL3_MT_SUPPLEMENTAL_DATA: + return "Supplemental data"; +#endif #ifdef SSL3_MT_END_OF_EARLY_DATA case SSL3_MT_END_OF_EARLY_DATA: return "End of early data"; |