From: Noodles! Date: Fri, 8 Jan 2021 04:50:52 +0000 (+0700) Subject: Disable gnutls error verification X-Git-Tag: bookmarks~41^2 X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?p=elpher.git;a=commitdiff_plain;h=266027bd600a85f1e488b116275d9f3a9a6ba057 Disable gnutls error verification Gemini sites timeout if the user has gnutls-verify-error set. --- diff --git a/elpher.el b/elpher.el index 4c34f52..8b3a7f9 100644 --- a/elpher.el +++ b/elpher.el @@ -616,7 +616,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))