]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Ensure Asterisk fails TCP/TLS SIP calls when certificate checking fails
authorKinsey Moore <kmoore@digium.com>
Wed, 17 Oct 2012 18:58:52 +0000 (18:58 +0000)
committerKinsey Moore <kmoore@digium.com>
Wed, 17 Oct 2012 18:58:52 +0000 (18:58 +0000)
commite43879381f47bced20370b2fa9bd854462328806
tree5eb2fb0962c31fca88806b429dd5e184c7189738
parent61f014450ce6b867018eec6fdf16a203c6e0378f
Ensure Asterisk fails TCP/TLS SIP calls when certificate checking fails

When placing a call to a TCP/TLS SIP endpoint whose certificate is not
signed by a configured CA certificate, Asterisk would issue a warning
and continue to process the call as if there was not an issue with the
certificate.  Asterisk now properly fails the call if the certificate
fails verification or if the certificate does not exist when
certificate checking is enabled (the default behavior).

(closes issue ASTERISK-20559)
Reported by: kmoore

Review: https://reviewboard.asterisk.org/r/2163/
........

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

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