Commit 8ad86935 authored by Simon Morlat's avatar Simon Morlat
Browse files

small tls fix

parent 0e9b4156
......@@ -578,7 +578,7 @@ static void set_tls_properties(Sal *ctx){
if (!ctx->tls_verify) verify_exceptions=BELLE_SIP_TLS_LISTENING_POINT_BADCERT_ANY_REASON;
else if (!ctx->tls_verify_cn) verify_exceptions=BELLE_SIP_TLS_LISTENING_POINT_BADCERT_CN_MISMATCH;
belle_sip_tls_listening_point_set_root_ca(tlp,ctx->root_ca);
if (ctx->root_ca) belle_sip_tls_listening_point_set_root_ca(tlp,ctx->root_ca);
belle_sip_tls_listening_point_set_verify_exceptions(tlp,verify_exceptions);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment