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:09 +0000 (23:10 +0100)
commitd5e16a711e2fbd5b59516eea9adc5c5fc3258f88
tree461ffa6176fd33378095ac1aabd6cd8853ef43cc
parent178c562a4621162dbe19a7c34fa2ad558684f40e
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