From: Frederik Wedel-Heinen Date: Tue, 23 Jan 2024 13:58:31 +0000 (+0100) Subject: Print session ticket for dtls 1.3 as well. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1daca57fd3c0e044a97617616fa645e8ec8524a8;p=thirdparty%2Fopenssl.git Print session ticket for dtls 1.3 as well. Reviewed-by: Tomas Mraz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/22260) --- diff --git a/apps/s_client.c b/apps/s_client.c index 85be1bf50f3..d8ed0ff4c29 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -830,7 +830,7 @@ static int new_session_cb(SSL *s, SSL_SESSION *sess) * Session data gets dumped on connection for TLSv1.2 and below, and on * arrival of the NewSessionTicket for TLSv1.3. */ - if (SSL_version(s) == TLS1_3_VERSION) { + if (SSL_version(s) == TLS1_3_VERSION || SSL_version(s) == DTLS1_3_VERSION) { BIO_printf(bio_c_out, "---\nPost-Handshake New Session Ticket arrived:\n"); SSL_SESSION_print(bio_c_out, sess);