res_rtp_asterisk: Fix undefined function when PJPROJECT is not installed
authorMatthew Jordan <mjordan@digium.com>
Tue, 8 Jul 2014 14:38:42 +0000 (14:38 +0000)
committerMatthew Jordan <mjordan@digium.com>
Tue, 8 Jul 2014 14:38:42 +0000 (14:38 +0000)
commit3126d18c1bd55a2680b61976acbe3dc79194da14
tree682d5c8ead018a69d49e75f9b43e031739ea4fce
parent534ffd8481341da6c7539163d7f575e98173cae0
res_rtp_asterisk: Fix undefined function when PJPROJECT is not installed

The dtls_perform_handshake function was mistakenly placed under the guards for
USE_PJPROJECT. If PJPROJECT was not installed, the function would not be
defined, while other functions would attempt to still use it. This prevented
res_rtp_asterisk from being loaded.

ASTERISK-24001 #close
Reported by: Don Fanning
........

Merged revisions 418172 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@418174 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_rtp_asterisk.c