summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2017-03-18 05:36:49 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2017-03-18 05:36:49 -0500
commit41baa7b4e86085ea17e60cc2a3756e050f5396c1 (patch)
tree14b9b08e156b89f0cf8e09a9131b3e547cf43ec3
parent0b3f807589d3077f295f5d628f0ba550fa379195 (diff)
parent241f0691849a3ebfd9ecde6508aebaedd14397d0 (diff)
Merge "res_pjsip_asterisk.c: Fix compile error if libsrtp is not installed." into 14
-rw-r--r--res/res_rtp_asterisk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c
index 76fcde5eb..d8880381b 100644
--- a/res/res_rtp_asterisk.c
+++ b/res/res_rtp_asterisk.c
@@ -5017,7 +5017,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;
}