GnuTLS: proper location for ca-certificates
authorRémi Denis-Courmont <rem@videolan.org>
Tue, 20 May 2008 20:19:35 +0000 (23:19 +0300)
committerRémi Denis-Courmont <rem@videolan.org>
Tue, 20 May 2008 20:19:46 +0000 (23:19 +0300)
modules/misc/gnutls.c

index 52c294b..b02e3d2 100644 (file)
@@ -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);
     }