Only inherit the session ID context in SSL_set_SSL_CTX if the existing
authorEmilia Kasper <emilia@openssl.org>
Tue, 6 Jan 2015 14:41:04 +0000 (15:41 +0100)
committerEmilia Kasper <emilia@openssl.org>
Tue, 6 Jan 2015 22:10:03 +0000 (23:10 +0100)
commited736ddd74549ef80f17d5675e8aaf54da572336
tree1007aad2be35a4aa1aad06c74dfd4a0d27346a68
parentc7c2a56a1b3bf481b2c6b91906477b53fe118702
Only inherit the session ID context in SSL_set_SSL_CTX if the existing
context was also inherited (matches that of the existing SSL_CTX).

Reviewed-by: Tim Hudson <tjh@openssl.org>
(cherry picked from commit ac8e9cbe14b59dacfe4ac52bc5ff06f8003e9b01)
ssl/ssl_lib.c