]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Remove a superfluous and dangerous freeing of an SSL_CTX.
authorMark Michelson <mmichelson@digium.com>
Fri, 6 Jul 2012 18:47:05 +0000 (18:47 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 6 Jul 2012 18:47:05 +0000 (18:47 +0000)
commit9eb5c1b64fc19fe386eddc9b988f1a1575b03e19
tree5705d14fafbb952deefc5c12d117cffeb1a247fd
parent80b3b6f0eef2acc3cacd110b0a3051ec4c903118
Remove a superfluous and dangerous freeing of an SSL_CTX.

The problem here is that multiple server sessions share
a SSL_CTX. When one session ended, the SSL_CTX would be
freed and set NULL, leaving the other sessions unable to
function.

The code being removed is superfluous because the SSL_CTX
structures for servers will be properly freed when ast_ssl_teardown
is called.

(closes issue ASTERISK-20074)
Reported by Trevor Helmsley
Patches:
ASTERISK-20074.diff uploaded by Mark Michelson (license #5049)
Testers:
Trevor Helmsley
........

Merged revisions 369731 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@369732 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/tcptls.c