Merge remote-tracking branch 'upstream/patch_disable-gnutls-verify' into main
authorAlex Schroeder <alex@gnu.org>
Sun, 27 Jun 2021 19:34:58 +0000 (21:34 +0200)
committerAlex Schroeder <alex@gnu.org>
Sun, 27 Jun 2021 19:34:58 +0000 (21:34 +0200)
elpher.el

index b323cbb..4d37030 100644 (file)
--- a/elpher.el
+++ b/elpher.el
@@ -631,7 +631,8 @@ the host operating system and the local network capabilities."
     (unless (< (elpher-address-port address) 65536)
       (error "Cannot establish network connection: port number > 65536"))
     (when (and (eq use-tls 'gemini) (not elpher-gemini-TLS-cert-checks))
-      (setq-local network-security-level 'low))
+      (setq-local network-security-level 'low)
+      (setq-local gnutls-verify-error nil))
     (condition-case nil
         (let* ((kill-buffer-query-functions nil)
                (port (elpher-address-port address))