Commit 8e75a005 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

GnuTLS: proper location for ca-certificates

parent 0e51a9e6
......@@ -681,8 +681,9 @@ static int OpenClient (vlc_object_t *obj)
const char *confdir = config_GetConfDir ();
{
char path[strlen (confdir) + sizeof ("/ca-certificates.crt")];
sprintf (path, "%s/ca-certificates.crt", confdir);
char path[strlen (confdir)
+ sizeof ("/ssl/certs/ca-certificates.crt")];
sprintf (path, "%s/ssl/certs/ca-certificates.crt", confdir);
gnutls_Addx509File (VLC_OBJECT (p_session),
p_sys->x509_cred, path, false);
}
......
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