Remove sessions from external cache, even if internal cache not used.
authorMatt Caswell <matt@openssl.org>
Mon, 13 Jun 2016 10:24:15 +0000 (11:24 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 19 Jul 2016 11:08:49 +0000 (12:08 +0100)
commite4612d02c53cccd24fa97b08fc01250d1238cca1
tree60dcaaa62136f24ac1e25a71b53826f4a57be458
parent941b10bd954f9fb217901e4ad0a31c70972b864d
Remove sessions from external cache, even if internal cache not used.

If the SSL_SESS_CACHE_NO_INTERNAL_STORE cache mode is used then we weren't
removing sessions from the external cache, e.g. if an alert occurs the
session is supposed to be automatically removed.

Reviewed-by: Richard Levitte <levitte@openssl.org>
ssl/ssl_sess.c
ssl/statem/statem_clnt.c