[Asterisk-code-review] res pjsip asterisk.c: Fix compile error if libsrtp is not in... (asterisk[13])
Richard Mudgett
asteriskteam at digium.com
Thu Mar 16 16:44:01 CDT 2017
Richard Mudgett has uploaded a new change for review. ( https://gerrit.asterisk.org/5236 )
Change subject: res_pjsip_asterisk.c: Fix compile error if libsrtp is not installed.
......................................................................
res_pjsip_asterisk.c: Fix compile error if libsrtp is not installed.
struct ast_rtcp does not define the dtls member if SRTP is not enabled.
ASTERISK-26732
Change-Id: Id15ea212e04490e012f2cf4a56818b4dd948875e
---
M res/res_rtp_asterisk.c
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/36/5236/1
diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c
index 62fe4fd..b89057c 100644
--- a/res/res_rtp_asterisk.c
+++ b/res/res_rtp_asterisk.c
@@ -5018,7 +5018,9 @@
return;
}
rtp->rtcp->s = -1;
+#ifdef HAVE_OPENSSL_SRTP
rtp->rtcp->dtls.timeout_timer = -1;
+#endif
rtp->rtcp->schedid = -1;
}
--
To view, visit https://gerrit.asterisk.org/5236
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id15ea212e04490e012f2cf4a56818b4dd948875e
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
More information about the asterisk-code-review
mailing list