[Asterisk-code-review] res/res srtp: Fix include issue for libsrtp 1.5.0 (asterisk[certified/11.6])
George Joseph
asteriskteam at digium.com
Wed Jul 20 16:15:57 CDT 2016
George Joseph has uploaded a new change for review.
https://gerrit.asterisk.org/3267
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(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/67/3267/1
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: newchange
Gerrit-Change-Id: Ica091f2e42fd63756c33fdbbdf36f1859faa4b70
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: certified/11.6
Gerrit-Owner: George Joseph <gjoseph at digium.com>
More information about the asterisk-code-review
mailing list