From: Leonie Theobald Date: Mon, 29 Jul 2024 13:48:01 +0000 (+0200) Subject: Add logging support for early data X-Git-Tag: openssl-3.4.0-alpha1~212 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc37ef7d90871f64a3f6bb5f42d20a7b88ebc6a3;p=thirdparty%2Fopenssl.git Add logging support for early data -trace option didn't cover early data message which resulted in misleading logging. CLA: trivial Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/25026) --- diff --git a/ssl/t1_trce.c b/ssl/t1_trce.c index 9c811c5ee6a..510190df9b3 100644 --- a/ssl/t1_trce.c +++ b/ssl/t1_trce.c @@ -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);