]> 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 19:00:35 +0000 (19:00 +0000)
committerKinsey Moore <kmoore@digium.com>
Wed, 17 Oct 2012 19:00:35 +0000 (19:00 +0000)
commit09d951514d219aacf9fa5caeedae85eedee94b42
treee5a4148dc707da7b31294a807f161cc37d238c90
parent0ee22cfd14828747375c07c9f6d915a0d90637c4
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
........

Merged revisions 375147 from http://svn.asterisk.org/svn/asterisk/branches/10

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