Use the correct session resumption mechanism
authorMatt Caswell <matt@openssl.org>
Thu, 19 Jan 2017 11:23:06 +0000 (11:23 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 30 Jan 2017 10:18:21 +0000 (10:18 +0000)
commit081912943f951a49420b1f7d89288bab47f67500
tree5efbc819b81e5d4330472da9047b0cb59c3cc0b6
parent128ae2769270f467982601b743964fb840aa2926
Use the correct session resumption mechanism

Don't attempt to add a TLS1.3 session to a TLS1.2 ClientHello session
ticket extensions. Similarly don't add a TLS1.2 session to a TLS1.3
psk extension.

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