From: Gisle Vanem Date: Tue, 31 Aug 2021 12:08:34 +0000 (+0200) Subject: openssl: annotate SSL3_MT_SUPPLEMENTAL_DATA X-Git-Tag: curl-7_79_0~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a6d30cfd32009ce89288a539ef4b1b8b7f00731;p=thirdparty%2Fcurl.git 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 --- diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index 2d17acf1bb..87f4b02b71 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";