[asterisk-commits] mjordan: branch 11 r426141 - in /branches/11: ./ res/res_srtp.c

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


Author: mjordan
Date: Sun Oct 26 20:46:02 2014
New Revision: 426141

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

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

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

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