[vlc-devel] commit: GnuTLS: proper location for ca-certificates ( Rémi Denis-Courmont )

git version control git at videolan.org
Tue May 20 22:18:19 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Tue May 20 23:19:35 2008 +0300| [8e75a0055ad9b8a5915260f479e06845096829c9]

GnuTLS: proper location for ca-certificates

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8e75a0055ad9b8a5915260f479e06845096829c9
---

 modules/misc/gnutls.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/misc/gnutls.c b/modules/misc/gnutls.c
index 52c294b..b02e3d2 100644
--- a/modules/misc/gnutls.c
+++ b/modules/misc/gnutls.c
@@ -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);
     }




More information about the vlc-devel mailing list