From e9e5e0455eedcb433527834ab5423da8a92dd081 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 11 Nov 2017 08:48:18 +0100 Subject: [PATCH] [Misc] Fix wrong regexp when updating certificates --- init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.el b/init.el index c1804b9..8b349f3 100644 --- a/init.el +++ b/init.el @@ -657,7 +657,7 @@ to a directory, add all certificate files in it to Certificates are assumed to be of the form *.crt." (set symbol new-value) (when (file-directory-p new-value) - (dolist (cert-file (directory-files new-value t "*.crt$")) + (dolist (cert-file (directory-files new-value t ".crt$")) (add-to-list 'gnutls-trustfiles cert-file)))) (defcustom db/cert-file-directory "~/.local/etc/certs/"