[asterisk-commits] mjordan: trunk r426144 - in /trunk: ./ res/res_srtp.c

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


Author: mjordan
Date: Sun Oct 26 20:47:56 2014
New Revision: 426144

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

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

Modified:
    trunk/   (props changed)
    trunk/res/res_srtp.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-13-merged' - no diff available.

Modified: trunk/res/res_srtp.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_srtp.c?view=diff&rev=426144&r1=426143&r2=426144
==============================================================================
--- trunk/res/res_srtp.c (original)
+++ trunk/res/res_srtp.c Sun Oct 26 20:47:56 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