Restore behaviour from commit 36ff232cf that was incorrectly removed
authorMatt Caswell <matt@openssl.org>
Tue, 26 Jun 2018 17:06:45 +0000 (18:06 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 3 Jul 2018 08:44:35 +0000 (09:44 +0100)
commit1f1563216d6827e1dc8212795344c82e0f5d5933
treecd20d08724295f408cd796ad88352c46b6e06ebd
parentc36b39b5cd685fc5eae84ece247e7873a27d8834
Restore behaviour from commit 36ff232cf that was incorrectly removed

In TLSv1.2 and below we should remove an old session from the client
session cache in the event that we receive a new session ticket from the
server.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/6601)
ssl/statem/statem_clnt.c