Support INSECURE envvar (again)

This commit is contained in:
Henrik Lissner
2019-10-26 13:49:33 -04:00
parent 515fba2fda
commit 5b1dc3c63f

View File

@ -170,7 +170,7 @@ users).")
;; Emacs is a huge security vulnerability, what with all the dependencies it
;; pulls in from all corners of the globe. Let's at least try to be more
;; discerning.
(setq gnutls-verify-error t
(setq gnutls-verify-error (getenv "INSECURE")
tls-checktrust gnutls-verify-error
tls-program '("gnutls-cli --x509cafile %t -p %p %h"
;; compatibility fallbacks