From 203fb86874a9ad3a578e35df9517fd4a0bc25496 Mon Sep 17 00:00:00 2001 From: Matthew Jordan Date: Mon, 27 Oct 2014 01:46:02 +0000 Subject: [PATCH] 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 Change-Id: Ica091f2e42fd63756c33fdbbdf36f1859faa4b70 --- res/res_srtp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/res/res_srtp.c b/res/res_srtp.c index 41241d0ed9..a5e44b717b 100644 --- a/res/res_srtp.c +++ b/res/res_srtp.c @@ -40,6 +40,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include +#include #include "asterisk/lock.h" #include "asterisk/sched.h" -- 2.47.2