bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to


From: emacs
Subject: bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely
Date: Wed, 23 Oct 2013 13:25:23 -0400

Ted Zlatanov wrote at about 10:52:46 -0400 on Wednesday, October 23, 2013:
 > Please put this on hold while we discuss it in the GnuTLS mailing list
 > and let's update it when (if) we find a solution there.  It seems to be
 > outside the Emacs code right now.
 > 
 > Ted

As per my previous email, the following trivial patch will fix the
Emacs code to make sure that valid paths are always passed...

--- gnutls.el   2013-03-17 13:52:40.000000000 -0400
+++ gnutls.el.new       2013-10-23 12:47:36.503554500 -0400
@@ -174,7 +174,8 @@
   (let* ((type (or type 'gnutls-x509pki))
          (trustfiles (or trustfiles
                          (delq nil
-                               (mapcar (lambda (f) (and f (file-exists-p f) f))
+                               (mapcar (lambda (f) (and f (file-exists-p f) 
+                                                                               
                                (expand-file-name f)))
                                        (if (functionp gnutls-trustfiles)
                                            (funcall gnutls-trustfiles)
                                          gnutls-trustfiles)))))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]