summaryrefslogtreecommitdiffstats
path: root/doc/man1/dhparam.pod
diff options
context:
space:
mode:
authorBenjamin Kaduk <bkaduk@akamai.com>2017-08-09 12:19:06 -0500
committerBenjamin Kaduk <kaduk@mit.edu>2017-08-09 13:50:02 -0500
commit3cb6a4d6d66d566937c08d2d3fc933275e70f73e (patch)
treea434de842024582a4216baafd7d628a4490a5dcd /doc/man1/dhparam.pod
parent8d50b9c15ae5d4eb4318ff6ea105526a691f162c (diff)
Fix memory leak in session cache test
When we are using the internal cache we have to make a copy of the session before removing it from the parent context's cache, since we want our copy to still be resumable. However, SSL_CTX_remove_session() just detaches the session from the SSL_CTX; it does not free the session. So, we must call SSL_SESSION_free() ourselves before overwriting the variable that we dup'd from. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4126)
Diffstat (limited to 'doc/man1/dhparam.pod')
0 files changed, 0 insertions, 0 deletions