From bc5576723b2ddaa0b4cb6a6ba368fa71bc5a8a0c Mon Sep 17 00:00:00 2001
From: Romain Francoise <romain@orebokech.com>
Date: Mon, 13 Dec 2010 23:20:32 +0100
Subject: [PATCH] * net/gnutls.el (gnutls-negotiate): Fix setting of default
 trustfiles.

---
 lisp/ChangeLog     | 4 ++++
 lisp/net/gnutls.el | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e4310dd5fe8..10db215a989 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2010-12-13  Romain Francoise  <romain@orebokech.com>
+
+	* net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
+
 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
 
 	* subr.el (posn-col-row): Evaluate header-line-format in the
diff --git a/lisp/net/gnutls.el b/lisp/net/gnutls.el
index 85c546ffd3f..e49af2948e6 100644
--- a/lisp/net/gnutls.el
+++ b/lisp/net/gnutls.el
@@ -77,7 +77,7 @@ PRIORITY-STRING is as per the GnuTLS docs, default is \"NORMAL\".
 TRUSTFILES is a list of CA bundles.
 KEYFILES is a list of client keys."
   (let* ((type (or type 'gnutls-x509pki))
-         (trusfiles (or trustfiles
+         (trustfiles (or trustfiles
                         '("/etc/ssl/certs/ca-certificates.crt")))
          (priority-string (or priority-string
                               (cond
-- 
2.39.5