summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorzuul <zuul@gerrit.asterisk.org>2016-03-15 10:27:09 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-03-15 10:27:10 -0500
commitd804b904c5bf905e4708a98045e7c56926609125 (patch)
treefc55387029eccfccce19ed48fbb2de24b4503177 /res
parentabe893725be12d3987f4efa14aed74ddb100fdee (diff)
parent4df7b3ae80d7d022c0fd941de614b829948ce3ef (diff)
Merge "build: Add configure check for proto field of PJSIP TLS transport setting."
Diffstat (limited to 'res')
-rw-r--r--res/res_pjsip/config_transport.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/res/res_pjsip/config_transport.c b/res/res_pjsip/config_transport.c
index db579bf2f..d2c087487 100644
--- a/res/res_pjsip/config_transport.c
+++ b/res/res_pjsip/config_transport.c
@@ -422,7 +422,9 @@ static int has_state_changed(struct ast_sip_transport_state *a, struct ast_sip_t
if (a->tls.method != b->tls.method
|| a->tls.ciphers_num != b->tls.ciphers_num
+#ifdef HAVE_PJSIP_TLS_TRANSPORT_PROTO
|| a->tls.proto != b->tls.proto
+#endif
|| a->tls.verify_client != b->tls.verify_client
|| a->tls.verify_server != b->tls.verify_server
|| a->tls.require_client_cert != b->tls.require_client_cert) {