mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Add GNUTLS feature detection to doom/am-i-secure
This commit is contained in:
@ -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/"
|
||||||
|
Reference in New Issue
Block a user