mirror of https://github.com/openssl/openssl.git
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)
This commit is contained in:
parent
d8b98684b6
commit
4488892d02
|
|
@ -844,7 +844,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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue