]> git.ipfire.org Git - thirdparty/asterisk.git/commit
tcptls: Use new certificate upon sip reload 48/4448/8
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:05:29 +0000 (20:05 +0100)
commit8e77d6f52039e3ba20374c8a0083ad73bcce9e98
treec098219c28b39211ab8d5474937a1d350c9abf27
parentee73af1d88c9ff6db90f70f934f5ea57b8ab0625
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