]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_srtp: Move SDP SRTP code from the core to res_srtp. 41/3441/2
authorRichard Mudgett <rmudgett@digium.com>
Mon, 8 Aug 2016 19:50:53 +0000 (14:50 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 10 Aug 2016 22:32:42 +0000 (17:32 -0500)
commit34d366eb0c4d641ef22bbb188cc141e267c13a31
tree63d4ed6952bc053281954035663470ad53b92ba1
parentd85e9d99cb1bfab94b8e29202b752b97cb080d57
res_srtp: Move SDP SRTP code from the core to res_srtp.

A patch made to the master branch (Now the 14 branch) inadvertently made
libsrtp a required dependency in order to compile Asterisk.  Rather than
create dummy defines to substitute for the defines supplied by libsrtp
when libsrtp is not available, most of the code in sdp_srtp.c is moved
into res_srtp.c.  This gets more code out of Asterisk's core that isn't
used when SRTP is not available.  This also makes another inadvertent
required dependency on libsrtp by Asterisk's core unlikely.

ASTERISK-26253 #close
Reported by: Ben Merrills

Change-Id: I0a46cde81501c0405399c2588633ae32706d1ee7
include/asterisk/sdp_srtp.h
main/sdp_srtp.c
res/res_srtp.c