[asterisk-commits] mjordan: branch 12 r426142 - in /branches/12: ./ res/res_srtp.c

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


Author: mjordan
Date: Sun Oct 26 20:46:47 2014
New Revision: 426142

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

Modified:
    branches/12/   (props changed)
    branches/12/res/res_srtp.c

Propchange: branches/12/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.

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