rtpproxy: add build fix
[feed/telephony.git] / net / rtpproxy / patches / 104-Resolve-build-breakage-after-ekt-member-of-the-polic.patch
1 From f6c1f9e5924246216a05c295f450989ad9c80104 Mon Sep 17 00:00:00 2001
2 From: Maksym Sobolyev <sobomax@sippysoft.com>
3 Date: Thu, 13 May 2021 11:42:29 -0700
4 Subject: [PATCH] Resolve build breakage after ekt member of the policy struct
5 has been deprecated by the libsrtp. We have not been using that member to do
6 anything meaningful anyhow and the struct is inied to \0, so it should have
7 no adverse effect.
8
9 ---
10 extractaudio/eaud_crypto.c | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 --- a/extractaudio/eaud_crypto.c
14 +++ b/extractaudio/eaud_crypto.c
15 @@ -153,7 +153,7 @@ eaud_crypto_getopt_parse(char *optarg)
16 srtp_crypto_policy_set_rtp_default(&rval->policy.rtp);
17 srtp_crypto_policy_set_rtcp_default(&rval->policy.rtcp);
18 rval->policy.key = (uint8_t *)rval->key;
19 - rval->policy.ekt = NULL; rval->policy.next = NULL;
20 + rval->policy.next = NULL;
21 rval->policy.window_size = 128;
22 rval->policy.allow_repeat_tx = 0;
23 rval->policy.rtp.auth_tag_len = suite->tag_size;