diff options
author | Frederik Wedel-Heinen <frederik.wedel-heinen@dencrypt.dk> | 2024-01-23 14:58:31 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2024-03-28 08:44:41 +0000 |
commit | 1b71ffa0c5fefd0d0c8c6e160e063fe2d68bb10c (patch) | |
tree | ef8d4b28728b0526eadd9e5a85aa3caf82e82cdd | |
parent | 238aa8b2d1ce7c2353db106e08f0b9af8c7e37a5 (diff) |
Print session ticket for dtls 1.3 as well.
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22260)
-rw-r--r-- | apps/s_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/s_client.c b/apps/s_client.c index 433e9bb5b5..0e50b7f536 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -829,7 +829,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); |