]> git.ipfire.org Git - thirdparty/asterisk.git/commit
tcptls: Use new certificate upon sip reload 49/4449/6
authorMichael Kuron <m.kuron@gmx.de>
Tue, 15 Nov 2016 19:44:13 +0000 (20:44 +0100)
committerMichael Kuron <m.kuron@gmx.de>
Tue, 22 Nov 2016 19:18:22 +0000 (20:18 +0100)
commitcc619d30bfbf83f818cd134181cc8c438f0793b2
treeed98d160940695b8144449e7bf8e5574006c4733
parent2401e270238ef01cb6638ecf7f3520ddee6925a0
tcptls: Use new certificate upon sip reload

Previously, a TLS server socket would only be restarted upon sip reload if the
bind address had changed. This commit adds checking for changes to TLS
parameters like certificate, ciphers, etc. so they get picked up without
requiring a reload of the entire chan_sip module. This does not affect open
connections in any way, but new connections will use the new TLS parameters.
The changes also apply to HTTP and Manager.

ASTERISK-26604 #close

Change-Id: I169e86cefc6dcd627c915134015a6a1ab1aadbe6
include/asterisk/tcptls.h
main/tcptls.c