summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonie Theobald <leonie.theobald@ruhr-uni-bochum.de>2024-07-29 15:48:01 +0200
committerTomas Mraz <tomas@openssl.org>2024-08-07 19:32:17 +0200
commitcc37ef7d90871f64a3f6bb5f42d20a7b88ebc6a3 (patch)
tree50326b449eaf59cff2d6164186823d79ae4c5007
parentssl: factorize and improved hex conversion code (diff)
downloadopenssl-cc37ef7d90871f64a3f6bb5f42d20a7b88ebc6a3.tar.xz
openssl-cc37ef7d90871f64a3f6bb5f42d20a7b88ebc6a3.zip
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 <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/25026)
-rw-r--r--ssl/t1_trce.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/t1_trce.c b/ssl/t1_trce.c
index 9c811c5ee6..510190df9b 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);