diff options
author | Daniel Kahn Gillmor <[email protected]> | 2018-10-24 19:56:18 +0000 |
---|---|---|
committer | Daniel Kahn Gillmor <[email protected]> | 2018-10-24 19:56:18 +0000 |
commit | 54eb375ff14e2a93cea70eab35719be4d25f51ca (patch) | |
tree | 99a6159cfc9cc26696ddd5c842095fd046cb8d6e /sm/certchain.c | |
parent | doc: fix spelling mistakes (diff) | |
download | gnupg-54eb375ff14e2a93cea70eab35719be4d25f51ca.tar.gz gnupg-54eb375ff14e2a93cea70eab35719be4d25f51ca.zip |
all: fix spelling and typos
Signed-off-by: Daniel Kahn Gillmor <[email protected]>
Diffstat (limited to 'sm/certchain.c')
-rw-r--r-- | sm/certchain.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sm/certchain.c b/sm/certchain.c index 4e18caf55..708e9371c 100644 --- a/sm/certchain.c +++ b/sm/certchain.c @@ -669,7 +669,7 @@ find_up (ctrl_t ctrl, KEYDB_HANDLE kh, log_debug (" found via authid and sn+issuer\n"); /* In case of an error, try to get the certificate from the - dirmngr. That is done by trying to put that certifcate + dirmngr. That is done by trying to put that certificate into the ephemeral DB and let the code below do the actual retrieve. Thus there is no error checking. Skipped in find_next mode as usual. */ @@ -908,7 +908,7 @@ is_root_cert (ksba_cert_t cert, const char *issuerdn, const char *subjectdn) { if (gpg_err_code (err) == GPG_ERR_NO_DATA) return 1; /* Yes. Without a authorityKeyIdentifier this needs - to be the Root certifcate (our trust anchor). */ + to be the Root certificate (our trust anchor). */ log_error ("error getting authorityKeyIdentifier: %s\n", gpg_strerror (err)); return 0; /* Well, it is broken anyway. Return No. */ @@ -1103,7 +1103,7 @@ check_validity_period (ksba_isotime_t current_time, } /* This is a variant of check_validity_period used with the chain - model. The dextra contraint here is that notBefore and notAfter + model. The extra constraint here is that notBefore and notAfter must exists and if the additional argument CHECK_TIME is given this time is used to check the validity period of SUBJECT_CERT. */ static gpg_error_t @@ -1553,7 +1553,7 @@ do_validate_chain (ctrl_t ctrl, ksba_cert_t cert, ksba_isotime_t checktime_arg, if (rc) goto leave; - break; /* Okay: a self-signed certicate is an end-point. */ + break; /* Okay: a self-signed certificate is an end-point. */ } /* End is_root. */ |