]> git.ipfire.org Git - thirdparty/asterisk.git/commit
tcptls: Use new certificate upon sip reload 50/4450/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:21:28 +0000 (14:21 -0500)
commit635b0a0a550a191727e4162a453560903e76b233
treebd64e6905f03aab28172a419524b72d1aa52cf1b
parent038158bf7b5d450c5d712248a334c596b723ff3f
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