]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
res/res_srtp: Fix include issue for libsrtp 1.5.0 67/3267/3
authorMatthew Jordan <mjordan@digium.com>
Mon, 27 Oct 2014 01:46:02 +0000 (01:46 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 21 Jul 2016 12:32:41 +0000 (07:32 -0500)
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

index 41241d0ed9b71a05670f62f9e17ed878345d7289..a5e44b717b8f4c6d19b1b962d9b6dce95afd4ede 100644 (file)
@@ -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"