summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2014-10-27 01:47:26 +0000
committerMatthew Jordan <mjordan@digium.com>2014-10-27 01:47:26 +0000
commit775640f658ca0f98ecd2e7b14a20a67a8072c7cc (patch)
treeef6bf5b4c5da00b262f8f0611276d6d0d740584e /res
parente979d0d5c11634616205caad75398049d51bebd9 (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 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@426143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res')
-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"