Only dump session data after we have received it
authorMatt Caswell <matt@openssl.org>
Mon, 25 Jun 2018 15:46:57 +0000 (16:46 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 26 Jun 2018 09:07:01 +0000 (10:07 +0100)
s_client was dumping session data at the end of the handshake. In TLSv1.3
we don't have session data until receipt of a NewSessionTicket message
which happens post-handshake. Therefore we delay dumping the session data
until that message has arrived if TLSv1.3 has been negotiated.

Fixes #6482

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6590)


No differences found