]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Add logging support for early data
authorLeonie Theobald <leonie.theobald@ruhr-uni-bochum.de>
Mon, 29 Jul 2024 13:48:01 +0000 (15:48 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 7 Aug 2024 17:32:17 +0000 (19:32 +0200)
-trace option didn't cover early data message which resulted in
misleading logging.

CLA: trivial

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25026)

ssl/t1_trce.c

index 9c811c5ee6afe08e69ccebcd89b5ae55b2a02f18..510190df9b37207ea0117e29c80a3a6f20ff90f9 100644 (file)
@@ -1671,6 +1671,7 @@ static int ssl_print_handshake(BIO *bio, const SSL_CONNECTION *sc, int server,
         ssl_print_hex(bio, indent + 2, "verify_data", msg, msglen);
         break;
 
+    case SSL3_MT_END_OF_EARLY_DATA:
     case SSL3_MT_SERVER_DONE:
         if (msglen != 0)
             ssl_print_hex(bio, indent + 2, "unexpected value", msg, msglen);