emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 27a2197: Fix spelling of "intermediate" (it's not "


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 27a2197: Fix spelling of "intermediate" (it's not "intermediary")
Date: Mon, 25 Jun 2018 12:57:04 -0400 (EDT)

branch: master
commit 27a21970f6faa9baf42823f731b7842b075e86eb
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Fix spelling of "intermediate" (it's not "intermediary")
    
    * doc/emacs/misc.texi (Network Security): Ditto.
    
    * lisp/net/nsm.el (network-security-protocol-checks): Fix spelling
    on "intermediate".
    (nsm-protocol-check--intermediate-sha1): Ditto.
---
 doc/emacs/misc.texi | 4 ++--
 lisp/net/nsm.el     | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi
index 0a15df4..692f1fd 100644
--- a/doc/emacs/misc.texi
+++ b/doc/emacs/misc.texi
@@ -361,8 +361,8 @@ third parties.  If this number is too low, you will be 
warned.
 The @acronym{RC4} stream cipher is believed to be of low quality and
 may allow eavesdropping by third parties.
 
address@hidden @acronym{SHA1} in the host certificate or in intermediary 
certificates
-It is believed that if an intermediary certificate uses
address@hidden @acronym{SHA1} in the host certificate or in intermediate 
certificates
+It is believed that if an intermediate certificate uses
 the @acronym{SHA1} hashing algorithm, then third parties can issue
 certificates pretending to be that issuing instance.  These
 connections are therefore vulnerable to man-in-the-middle attacks.
diff --git a/lisp/net/nsm.el b/lisp/net/nsm.el
index 146d0d5..0653cfb 100644
--- a/lisp/net/nsm.el
+++ b/lisp/net/nsm.el
@@ -185,7 +185,7 @@ unencrypted."
   '((diffie-hellman-prime-bits medium 1024)
     (rc4 medium)
     (signature-sha1 medium)
-    (intermediary-sha1 medium)
+    (intermediate-sha1 medium)
     (3des high)
     (ssl medium))
   "This variable specifies what TLS connection checks to perform.
@@ -255,7 +255,7 @@ HOST PORT STATUS OPTIONAL-PARAMETER.")
          "The certificate used to verify the connection to %s:%s uses the SHA1 
algorithm (%s), which is believed to be unsafe."
          host port signature-algorithm))))
 
-(defun nsm-protocol-check--intermediary-sha1 (host port status _)
+(defun nsm-protocol-check--intermediate-sha1 (host port status _)
   ;; Skip the first certificate, because that's the host certificate.
   (cl-loop for certificate in (cdr (plist-get status :certificates))
            for algo = (plist-get certificate :signature-algorithm)
@@ -266,7 +266,7 @@ HOST PORT STATUS OPTIONAL-PARAMETER.")
                      (string-match "\\bSHA1\\b" algo)
                      (not (nsm-query
                            host port status :signature-sha1
-                           "An intermediary certificate used to verify the 
connection to %s:%s uses the SHA1 algorithm (%s), which is believed to be 
unsafe."
+                           "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)
            finally (cl-return t)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]