ssl_session_dup() missing ext.alpn_session
authorTodd Short <tshort@akamai.com>
Mon, 26 Jun 2017 13:21:20 +0000 (09:21 -0400)
committerBenjamin Kaduk <kaduk@mit.edu>
Wed, 28 Jun 2017 19:53:23 +0000 (14:53 -0500)
commiteed3ec90478af1e1fd3a2733293c751d2181f7f7
treea2f524c08711ca672eeb021f81d13d3e508b118f
parent3668721d3af2648aaa4c443b9d7a5b0e4bdd200f
ssl_session_dup() missing ext.alpn_session

Properly copy ext.alpn_session in ssl_session_dup()
Use OPENSSL_strndup() as that's used in ssl_asn1.c

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/3770)
ssl/ssl_sess.c