Commit ee75282f authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

TLS certificates' issue on MacOSX fixed

parent 0719db49
......@@ -514,7 +514,11 @@ static void sip_config_read(LinphoneCore *lc)
ms_free(contact);
}
#ifdef HAVE_GTK_OSX
sal_root_ca(lc->sal, lp_config_get_string(lc->config,"sip","root_ca", "/opt/local/share/linphone/rootca.pem"));
#else
sal_root_ca(lc->sal, lp_config_get_string(lc->config,"sip","root_ca", "/etc/ssl/certs"));
#endif
tmp=lp_config_get_int(lc->config,"sip","guess_hostname",1);
linphone_core_set_guess_hostname(lc,tmp);
......
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