Fix calls to SSL_get_server_tmp_key() in TLSv1.3
authorMatt Caswell <matt@openssl.org>
Mon, 3 Apr 2017 14:24:06 +0000 (15:24 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 3 Apr 2017 18:18:47 +0000 (19:18 +0100)
commit090c8118e8d37f5631a421384a24ded35940690c
treece2499290db4acc19447cb2224eecd0da3b5b43e
parenta0cb628b17ecfd6e161870376b925a0045c99d00
Fix calls to SSL_get_server_tmp_key() in TLSv1.3

The macro SSL_get_server_tmp_key() returns information about the temp key
used by the server during a handshake. This was returning NULL for TLSv1.3
and causing s_client to omit this information in its connection summary.

Fixes #3081

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3114)
ssl/statem/extensions_clnt.c