Add GNUTLS feature detection to doom/am-i-secure

This commit is contained in:
Henrik Lissner 2017-09-15 13:49:10 +02:00
parent d5b84eee3d
commit 8f0268d9fc
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -58,6 +58,8 @@ selection of all minor-modes, active or not."
"Test to see if your root certificates are securely configured in emacs." "Test to see if your root certificates are securely configured in emacs."
(declare (interactive-only t)) (declare (interactive-only t))
(interactive) (interactive)
(unless (string-match-p "\\_<GNUTLS\\_>" system-configuration-features)
(warn "gnutls support isn't built into Emacs, there may be problems"))
(if-let (bad-hosts (if-let (bad-hosts
(cl-loop for bad (cl-loop for bad
in '("https://wrong.host.badssl.com/" in '("https://wrong.host.badssl.com/"