Use stateful tickets if we are doing anti-replay
authorMatt Caswell <matt@openssl.org>
Thu, 21 Jun 2018 15:54:55 +0000 (16:54 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 26 Jun 2018 17:09:46 +0000 (18:09 +0100)
commite880d4e58d1afe4d6e2d76646a8fbbe95fe05d40
tree825b5beff2a3a473ea211fef7fe306e007e91042
parent6cc0b3c2171e26379e898574cb6d42b8d8dcc113
Use stateful tickets if we are doing anti-replay

During anti-replay we cache the ticket anyway, so there is no point in
using a full stateless ticket.

Fixes #6391

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