Don't change a session once its in the cache
authorMatt Caswell <matt@openssl.org>
Fri, 22 Jun 2018 13:15:33 +0000 (14:15 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 25 Jun 2018 11:08:53 +0000 (12:08 +0100)
commitc35e96691ff3415e68531076ff9f011703524c0a
tree2a3e5f275875a20535763a55eddab04d26ee2c4e
parent3445872e22735ff864d6b363d2d2b8acde740912
Don't change a session once its in the cache

Sessions should be immutable once they are in the cache because they could
be shared with other threads. If you change them then this can cause
corruptions and races

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