summaryrefslogtreecommitdiff
path: root/res/res_srtp.c
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2014-10-27 01:47:56 +0000
committerMatthew Jordan <mjordan@digium.com>2014-10-27 01:47:56 +0000
commit130a3fcd7ff7d4f253d4f2509fca9b6c752377b0 (patch)
tree1182be5f288e55f8e36579d332e803342dcebd98 /res/res_srtp.c
parentc084728690277f417b951a671a55a80471e30534 (diff)
res/res_srtp: Fix include issue for libsrtp 1.5.0
In libsrtp 1.5.0, crypto_get_random is no longer resolved simply by including srtp.h. Now, one must include crypto_kernel.h as well. As it turns out, this header file has been provided by the library since 2006, so this is a relatively benign change. ASTERISK-24436 #close Reported by: Patrick Laimbock ........ Merged revisions 426140 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 426141 from http://svn.asterisk.org/svn/asterisk/branches/11 ........ Merged revisions 426142 from http://svn.asterisk.org/svn/asterisk/branches/12 ........ Merged revisions 426143 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@426144 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_srtp.c')
-rw-r--r--res/res_srtp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_srtp.c b/res/res_srtp.c
index 62115afab..8d8daf0b0 100644
--- a/res/res_srtp.c
+++ b/res/res_srtp.c
@@ -40,6 +40,7 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include <srtp/srtp.h>
+#include <srtp/crypto_kernel.h>
#include "asterisk/lock.h"
#include "asterisk/sched.h"