Skip to content

Commit

Permalink
openssl: annotate SSL3_MT_SUPPLEMENTAL_DATA
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Gisle Vanem authored and danielgustafsson committed Sep 1, 2021
1 parent 68784d7 commit 3a6d30c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/vtls/openssl.c
Expand Up @@ -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";
Expand Down

0 comments on commit 3a6d30c

Please sign in to comment.