[Pkg-gnupg-commit] [gnupg2] 35/112: dirmngr: Emit correct spelling of "superseded".

Daniel Kahn Gillmor dkg at fifthhorseman.net
Tue Aug 30 17:48:17 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository gnupg2.

commit 436b28c23194fa77919967338d5a61a82d242153
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date:   Mon Aug 1 22:19:16 2016 -0400

    dirmngr: Emit correct spelling of "superseded".
    
    * dirmngr/crlcache.c (list_one_crl_entry): Spell superseded correctly.
    * dirmngr/ocsp.c (ocsp_invalid): Likewise.
    
    This might break some tools which parse the existing output and expect
    misspellings, but i'm not sure there are many such tools, and we
    should use standardized orthography going forward.
    
    Signed-off-by: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
---
 dirmngr/crlcache.c | 2 +-
 dirmngr/ocsp.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dirmngr/crlcache.c b/dirmngr/crlcache.c
index 25ce7a6..af2a956 100644
--- a/dirmngr/crlcache.c
+++ b/dirmngr/crlcache.c
@@ -2361,7 +2361,7 @@ list_one_crl_entry (crl_cache_t cache, crl_cache_entry_t e, estream_t fp)
       if (reason & KSBA_CRLREASON_AFFILIATION_CHANGED )
         es_fputs( "affiliation_changed ", fp ), any = 1;
       if (reason & KSBA_CRLREASON_SUPERSEDED )
-        es_fputs( "superseeded", fp ), any = 1;
+        es_fputs( "superseded", fp ), any = 1;
       if (reason & KSBA_CRLREASON_CESSATION_OF_OPERATION )
         es_fputs( "cessation_of_operation", fp ), any = 1;
       if (reason & KSBA_CRLREASON_CERTIFICATE_HOLD )
diff --git a/dirmngr/ocsp.c b/dirmngr/ocsp.c
index e123409..561b7d7 100644
--- a/dirmngr/ocsp.c
+++ b/dirmngr/ocsp.c
@@ -716,7 +716,7 @@ ocsp_isvalid (ctrl_t ctrl, ksba_cert_t cert, const char *cert_fpr,
                   reason == KSBA_CRLREASON_CA_COMPROMISE?   "CA compromise":
                   reason == KSBA_CRLREASON_AFFILIATION_CHANGED?
                                                       "affiliation changed":
-                  reason == KSBA_CRLREASON_SUPERSEDED?   "superseeded":
+                  reason == KSBA_CRLREASON_SUPERSEDED?   "superseded":
                   reason == KSBA_CRLREASON_CESSATION_OF_OPERATION?
                                                   "cessation of operation":
                   reason == KSBA_CRLREASON_CERTIFICATE_HOLD?

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list