[asterisk-commits] mjordan: branch 1.8 r426140 - /branches/1.8/res/res_srtp.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Oct 26 20:39:35 CDT 2014


Author: mjordan
Date: Sun Oct 26 20:39:25 2014
New Revision: 426140

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=426140
Log:
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

Modified:
    branches/1.8/res/res_srtp.c

Modified: branches/1.8/res/res_srtp.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/res/res_srtp.c?view=diff&rev=426140&r1=426139&r2=426140
==============================================================================
--- branches/1.8/res/res_srtp.c (original)
+++ branches/1.8/res/res_srtp.c Sun Oct 26 20:39:25 2014
@@ -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"




More information about the asterisk-commits mailing list