Add a test to check we get a new session even if s->hit is true in TLSv1.3
authorMatt Caswell <matt@openssl.org>
Tue, 1 Aug 2017 10:57:51 +0000 (11:57 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 1 Aug 2017 12:09:52 +0000 (13:09 +0100)
commitc0537ebdf1e85e52923d05aa5d83496e97d121a3
tree542efd5bb0de350492a5605f56a812f5a77b250d
parent5d61491c8816ebad172340aafce713e9654dea94
Add a test to check we get a new session even if s->hit is true in TLSv1.3

In TLSv1.3 we can resume, but still get a new session. This adds a test to
make sure that is happening.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/4068)
test/sslapitest.c