[asterisk-commits] res/res srtp: Fix include issue for libsrtp 1.5.0 (asterisk[certified/11.6])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jul 21 07:32:44 CDT 2016


Joshua Colp has submitted this change and it was merged.

Change subject: res/res_srtp: Fix include issue for libsrtp 1.5.0
......................................................................


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

Change-Id: Ica091f2e42fd63756c33fdbbdf36f1859faa4b70
---
M res/res_srtp.c
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Anonymous Coward #1000019: Verified
  Joshua Colp: Looks good to me, approved



diff --git a/res/res_srtp.c b/res/res_srtp.c
index 41241d0..a5e44b7 100644
--- a/res/res_srtp.c
+++ b/res/res_srtp.c
@@ -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"

-- 
To view, visit https://gerrit.asterisk.org/3267
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ica091f2e42fd63756c33fdbbdf36f1859faa4b70
Gerrit-PatchSet: 3
Gerrit-Project: asterisk
Gerrit-Branch: certified/11.6
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>



More information about the asterisk-commits mailing list