From 4621ed98f0950a635bfd76e802b04d8f169c4d8b Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Fri, 20 Dec 2019 08:45:44 +0100 Subject: [PATCH] Require `gnutls' when setting `gnutls-trustfiles' --- site-lisp/db-utils.el | 1 + 1 file changed, 1 insertion(+) diff --git a/site-lisp/db-utils.el b/site-lisp/db-utils.el index b8d0122..81ed41d 100644 --- a/site-lisp/db-utils.el +++ b/site-lisp/db-utils.el @@ -247,6 +247,7 @@ Will print a warning in case of failure." Assumes that NEW-VALUE points to a directory, and certificates are assumed to be of the form *.crt." (set symbol new-value) + (require 'gnutls) (when (file-directory-p new-value) (dolist (cert-file (directory-files new-value t ".crt$")) (add-to-list 'gnutls-trustfiles cert-file))))