diff options
author | Joshua Colp <jcolp@digium.com> | 2017-03-18 05:36:14 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2017-03-18 05:36:15 -0500 |
commit | a2d29a754547617c392e6010f8ca930bb3d541de (patch) | |
tree | e24d0ad539b60e87cc2f1d73feb11364ad387a93 | |
parent | e76947bd88a978878717bb0688db1a9e3f596715 (diff) | |
parent | 047fb7f11ead526fd0d891c38f043469b36f1803 (diff) |
Merge "res_pjsip_asterisk.c: Fix compile error if libsrtp is not installed." into 13
-rw-r--r-- | res/res_rtp_asterisk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c index 62fe4fd4a..b89057cea 100644 --- a/res/res_rtp_asterisk.c +++ b/res/res_rtp_asterisk.c @@ -5018,7 +5018,9 @@ static void ast_rtp_prop_set(struct ast_rtp_instance *instance, enum ast_rtp_pro return; } rtp->rtcp->s = -1; +#ifdef HAVE_OPENSSL_SRTP rtp->rtcp->dtls.timeout_timer = -1; +#endif rtp->rtcp->schedid = -1; } |