summaryrefslogtreecommitdiffstats
path: root/dirmngr/validate.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2017-04-28 03:06:33 +0200
committerNIIBE Yutaka <gniibe@fsij.org>2017-04-28 03:06:33 +0200
commit5c8fe5480964c282540c051b538e812851988422 (patch)
tree61da9fb34cfb67875bea2dc259741c0e9b8ca78f /dirmngr/validate.c
parentg10: For signing, prefer available card key when no -u option. (diff)
downloadgnupg2-5c8fe5480964c282540c051b538e812851988422.tar.xz
gnupg2-5c8fe5480964c282540c051b538e812851988422.zip
Spelling fixes in docs and comments.
-- In addition, fix trailing spaces in tests/inittests. GnuPG-bug-id: 3121 Reported-by: ka7 (klemens) Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'dirmngr/validate.c')
-rw-r--r--dirmngr/validate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dirmngr/validate.c b/dirmngr/validate.c
index 3671a8b9e..371852ba7 100644
--- a/dirmngr/validate.c
+++ b/dirmngr/validate.c
@@ -147,7 +147,7 @@ unknown_criticals (ksba_cert_t cert)
}
}
if (err && gpg_err_code (err) != GPG_ERR_EOF)
- rc = err; /* Such an error takes precendence. */
+ rc = err; /* Such an error takes precedence. */
return rc;
}
@@ -344,7 +344,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. */
@@ -619,7 +619,7 @@ validate_cert_chain (ctrl_t ctrl, ksba_cert_t cert, ksba_isotime_t r_exptime,
log_info ("root certificate is good and trusted\n");
}
- break; /* Okay: a self-signed certicate is an end-point. */
+ break; /* Okay: a self-signed certificate is an end-point. */
}
/* To avoid loops, we use an arbitrary limit on the length of