diff options
author | zuul <zuul@gerrit.asterisk.org> | 2016-05-13 17:57:55 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-05-13 17:57:55 -0500 |
commit | d9c5882e69e28c11e6de82329f6d9a9bd40d7dc0 (patch) | |
tree | 9fee5c58e6feab16fc220729abec06761a916f17 /res/res_pjsip | |
parent | 7643dc44b2879964e895b63ea1b15ed00d201738 (diff) | |
parent | dfefbf873199f17569ba764b81e10a977cde87dc (diff) |
Merge "config_transport: Tell pjproject to allow all SSL/TLS protocols"
Diffstat (limited to 'res/res_pjsip')
-rw-r--r-- | res/res_pjsip/config_transport.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/res/res_pjsip/config_transport.c b/res/res_pjsip/config_transport.c index d2c087487..3a5afb6bc 100644 --- a/res/res_pjsip/config_transport.c +++ b/res/res_pjsip/config_transport.c @@ -378,6 +378,10 @@ static struct ast_sip_transport_state *find_or_create_temporary_state(struct ast new_state->type = transport->type; pjsip_tls_setting_default(&new_state->tls); +#ifdef HAVE_PJSIP_TLS_TRANSPORT_PROTO + /* proto must be forced to 0 to enable all protocols otherwise only TLS will work */ + new_state->tls.proto = 0; +#endif new_state->tls.ciphers = new_state->ciphers; ao2_ref(new_state, +1); |