Don't remove sessions from the cache during PHA in TLSv1.3
authorMatt Caswell <matt@openssl.org>
Mon, 16 Jul 2018 13:57:35 +0000 (14:57 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 17 Jul 2018 09:12:10 +0000 (10:12 +0100)
commit84475ccb70da709c9a0035561429a34700b565d9
tree385cf0d60d170fb8ae7518923257c44bc7f4f164
parent57fd517066418472b3280a975823405fb8f2f43d
Don't remove sessions from the cache during PHA in TLSv1.3

If we issue new tickets due to post-handshake authentication there is no
reason to remove previous tickets from the cache. The code that did that
only removed the last session anyway - so if more than one ticket got
issued then those other tickets are still valid.

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