summaryrefslogtreecommitdiff
path: root/lisp/net/nsm.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2018-07-08 16:14:06 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2018-07-08 16:14:06 +0200
commitc6de1f1592745d98e58f06332ad35efc72160787 (patch)
treef2039acc6ef881a54ee7506d6be4d2c8d35dcb62 /lisp/net/nsm.el
parent1dc4d0909349121699bf5c623004c0edb481e9b6 (diff)
downloademacs-c6de1f1592745d98e58f06332ad35efc72160787.tar.gz
Fix typo in sha1-intermediate check
* lisp/net/nsm.el (nsm-protocol-check--intermediate-sha1): Allow storing the exception with a correct name.
Diffstat (limited to 'lisp/net/nsm.el')
-rw-r--r--lisp/net/nsm.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/nsm.el b/lisp/net/nsm.el
index 0653cfbb1a2..dab9003e023 100644
--- a/lisp/net/nsm.el
+++ b/lisp/net/nsm.el
@@ -265,7 +265,7 @@ HOST PORT STATUS OPTIONAL-PARAMETER.")
(plist-get certificate :subject)))
(string-match "\\bSHA1\\b" algo)
(not (nsm-query
- host port status :signature-sha1
+ host port status :intermediate-sha1
"An intermediate certificate used to verify the connection to %s:%s uses the SHA1 algorithm (%s), which is believed to be unsafe."
host port algo)))
do (cl-return nil)