aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2018-07-08 16:14:06 +0200
committerLars Ingebrigtsen2018-07-08 16:14:06 +0200
commitc6de1f1592745d98e58f06332ad35efc72160787 (patch)
treef2039acc6ef881a54ee7506d6be4d2c8d35dcb62
parent1dc4d0909349121699bf5c623004c0edb481e9b6 (diff)
downloademacs-c6de1f1592745d98e58f06332ad35efc72160787.tar.gz
emacs-c6de1f1592745d98e58f06332ad35efc72160787.zip
Fix typo in sha1-intermediate check
* lisp/net/nsm.el (nsm-protocol-check--intermediate-sha1): Allow storing the exception with a correct name.
-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.")
265 (plist-get certificate :subject))) 265 (plist-get certificate :subject)))
266 (string-match "\\bSHA1\\b" algo) 266 (string-match "\\bSHA1\\b" algo)
267 (not (nsm-query 267 (not (nsm-query
268 host port status :signature-sha1 268 host port status :intermediate-sha1
269 "An intermediate certificate used to verify the connection to %s:%s uses the SHA1 algorithm (%s), which is believed to be unsafe." 269 "An intermediate certificate used to verify the connection to %s:%s uses the SHA1 algorithm (%s), which is believed to be unsafe."
270 host port algo))) 270 host port algo)))
271 do (cl-return nil) 271 do (cl-return nil)