Skip to content
Snippets Groups Projects
Commit d9c5882e authored by zuul's avatar zuul Committed by Gerrit Code Review
Browse files

Merge "config_transport: Tell pjproject to allow all SSL/TLS protocols"

parents 7643dc44 dfefbf87
No related branches found
No related tags found
No related merge requests found
...@@ -378,6 +378,10 @@ static struct ast_sip_transport_state *find_or_create_temporary_state(struct ast ...@@ -378,6 +378,10 @@ static struct ast_sip_transport_state *find_or_create_temporary_state(struct ast
new_state->type = transport->type; new_state->type = transport->type;
pjsip_tls_setting_default(&new_state->tls); 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; new_state->tls.ciphers = new_state->ciphers;
ao2_ref(new_state, +1); ao2_ref(new_state, +1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment