aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2015-11-16 11:41:46 +0000
committerJustus Winter <[email protected]>2015-11-17 11:50:22 +0000
commita9e0905342e847e8961ec4fe9b3aaedf05e33423 (patch)
tree213c99f194fda980f1ea41ad669463d707501e94 /tools
parentgpg: Fix error checking and improve error reporting. (diff)
downloadgnupg-a9e0905342e847e8961ec4fe9b3aaedf05e33423.tar.gz
gnupg-a9e0905342e847e8961ec4fe9b3aaedf05e33423.zip
Fix typos found using codespell.
* agent/cache.c: Fix typos. * agent/call-pinentry.c: Likewise. * agent/call-scd.c: Likewise. * agent/command-ssh.c: Likewise. * agent/command.c: Likewise. * agent/divert-scd.c: Likewise. * agent/findkey.c: Likewise. * agent/gpg-agent.c: Likewise. * agent/w32main.c: Likewise. * common/argparse.c: Likewise. * common/audit.c: Likewise. * common/audit.h: Likewise. * common/convert.c: Likewise. * common/dotlock.c: Likewise. * common/exechelp-posix.c: Likewise. * common/exechelp-w32.c: Likewise. * common/exechelp-w32ce.c: Likewise. * common/exechelp.h: Likewise. * common/helpfile.c: Likewise. * common/i18n.h: Likewise. * common/iobuf.c: Likewise. * common/iobuf.h: Likewise. * common/localename.c: Likewise. * common/logging.c: Likewise. * common/openpgp-oid.c: Likewise. * common/session-env.c: Likewise. * common/sexputil.c: Likewise. * common/sysutils.c: Likewise. * common/t-sexputil.c: Likewise. * common/ttyio.c: Likewise. * common/util.h: Likewise. * dirmngr/cdblib.c: Likewise. * dirmngr/certcache.c: Likewise. * dirmngr/crlcache.c: Likewise. * dirmngr/dirmngr-client.c: Likewise. * dirmngr/dirmngr.c: Likewise. * dirmngr/dirmngr_ldap.c: Likewise. * dirmngr/dns-stuff.c: Likewise. * dirmngr/http.c: Likewise. * dirmngr/ks-engine-hkp.c: Likewise. * dirmngr/ks-engine-ldap.c: Likewise. * dirmngr/ldap-wrapper.c: Likewise. * dirmngr/ldap.c: Likewise. * dirmngr/misc.c: Likewise. * dirmngr/ocsp.c: Likewise. * dirmngr/validate.c: Likewise. * g10/encrypt.c: Likewise. * g10/getkey.c: Likewise. * g10/gpg.c: Likewise. * g10/gpgv.c: Likewise. * g10/import.c: Likewise. * g10/keydb.c: Likewise. * g10/keydb.h: Likewise. * g10/keygen.c: Likewise. * g10/keyid.c: Likewise. * g10/keylist.c: Likewise. * g10/keyring.c: Likewise. * g10/mainproc.c: Likewise. * g10/misc.c: Likewise. * g10/options.h: Likewise. * g10/packet.h: Likewise. * g10/parse-packet.c: Likewise. * g10/pkclist.c: Likewise. * g10/pkglue.c: Likewise. * g10/plaintext.c: Likewise. * g10/server.c: Likewise. * g10/sig-check.c: Likewise. * g10/sqlite.c: Likewise. * g10/tdbio.c: Likewise. * g10/test-stubs.c: Likewise. * g10/tofu.c: Likewise. * g10/trust.c: Likewise. * g10/trustdb.c: Likewise. * g13/create.c: Likewise. * g13/mountinfo.c: Likewise. * kbx/keybox-blob.c: Likewise. * kbx/keybox-file.c: Likewise. * kbx/keybox-init.c: Likewise. * kbx/keybox-search-desc.h: Likewise. * kbx/keybox-search.c: Likewise. * kbx/keybox-update.c: Likewise. * scd/apdu.c: Likewise. * scd/app-openpgp.c: Likewise. * scd/app-p15.c: Likewise. * scd/app.c: Likewise. * scd/ccid-driver.c: Likewise. * scd/command.c: Likewise. * scd/iso7816.c: Likewise. * sm/base64.c: Likewise. * sm/call-agent.c: Likewise. * sm/call-dirmngr.c: Likewise. * sm/certchain.c: Likewise. * sm/gpgsm.c: Likewise. * sm/import.c: Likewise. * sm/keydb.c: Likewise. * sm/minip12.c: Likewise. * sm/qualified.c: Likewise. * sm/server.c: Likewise. * tools/gpg-check-pattern.c: Likewise. * tools/gpgconf-comp.c: Likewise. * tools/gpgkey2ssh.c: Likewise. * tools/gpgparsemail.c: Likewise. * tools/gpgtar.c: Likewise. * tools/rfc822parse.c: Likewise. * tools/symcryptrun.c: Likewise. Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'tools')
-rw-r--r--tools/gpg-check-pattern.c4
-rw-r--r--tools/gpgconf-comp.c4
-rw-r--r--tools/gpgkey2ssh.c2
-rw-r--r--tools/gpgparsemail.c2
-rw-r--r--tools/gpgtar.c2
-rw-r--r--tools/rfc822parse.c4
-rw-r--r--tools/symcryptrun.c2
7 files changed, 10 insertions, 10 deletions
diff --git a/tools/gpg-check-pattern.c b/tools/gpg-check-pattern.c
index 83f655031..fbf30a254 100644
--- a/tools/gpg-check-pattern.c
+++ b/tools/gpg-check-pattern.c
@@ -319,7 +319,7 @@ get_regerror (int errcode, regex_t *compiled)
/* Parse the pattern given in the memory aread DATA/DATALEN and return
a new pattern array. The end of the array is indicated by a NULL
- entry. On error an error message is printed and the fucntion
+ entry. On error an error message is printed and the function
returns NULL. Note that the function modifies DATA and assumes
that data is nul terminated (even if this is one byte past
DATALEN). */
@@ -446,7 +446,7 @@ match_p (const char *string, pattern_t *patarray)
}
-/* Actual processing of the input. This fucntion does not return an
+/* Actual processing of the input. This function does not return an
error code but exits as soon as a match has been found. */
static void
process (FILE *fp, pattern_t *patarray)
diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c
index b235e22d3..5e4bd58b2 100644
--- a/tools/gpgconf-comp.c
+++ b/tools/gpgconf-comp.c
@@ -1271,7 +1271,7 @@ gc_component_reload (int component)
/* More or less Robust version of dgettext. It has the side effect of
switching the codeset to utf-8 because this is what we want to
- output. In theory it is posible to keep the orginal code set and
+ output. In theory it is posible to keep the original code set and
switch back for regular disgnostic output (redefine "_(" for that)
but given the natur of this tool, being something invoked from
other pograms, it does not make much sense. */
@@ -3300,7 +3300,7 @@ gc_component_change_options (int component, estream_t in, estream_t out)
int i;
int saved_errno = errno;
- /* An error occured or a dry-run is requested. */
+ /* An error occurred or a dry-run is requested. */
for (i = 0; i < GC_BACKEND_NR; i++)
{
if (src_filename[i])
diff --git a/tools/gpgkey2ssh.c b/tools/gpgkey2ssh.c
index 20541509c..f12c5f44d 100644
--- a/tools/gpgkey2ssh.c
+++ b/tools/gpgkey2ssh.c
@@ -75,7 +75,7 @@ retrieve_key_material (FILE *fp, const char *hexkeyid, int *algorithm_id,
id = 0;
/* Loop over all records until we have found the subkey
- corresponsing to the fingerprint. Inm general the first record
+ corresponding to the fingerprint. In general the first record
should be the pub record, but we don't rely on that. Given that
we only need to look at one key, it is sufficient to compare the
keyid so that we don't need to look at "fpr" records. */
diff --git a/tools/gpgparsemail.c b/tools/gpgparsemail.c
index b9c18a2be..98bbad062 100644
--- a/tools/gpgparsemail.c
+++ b/tools/gpgparsemail.c
@@ -624,7 +624,7 @@ parse_message (FILE *fp)
if (!msg)
die ("can't open parser: %s", strerror (errno));
- /* Fixme: We should not use fgets becuase it can't cope with
+ /* Fixme: We should not use fgets because it can't cope with
embedded nul characters. */
while (fgets (line, sizeof (line), fp))
{
diff --git a/tools/gpgtar.c b/tools/gpgtar.c
index e9a25fb5c..4d3954b1a 100644
--- a/tools/gpgtar.c
+++ b/tools/gpgtar.c
@@ -341,7 +341,7 @@ write_record (estream_t stream, const void *record)
/* Return true if FP is an unarmored OpenPGP message. Note that this
- fucntion reads a few bytes from FP but pushes them back. */
+ function reads a few bytes from FP but pushes them back. */
#if 0
static int
openpgp_message_p (estream_t fp)
diff --git a/tools/rfc822parse.c b/tools/rfc822parse.c
index 285e0843c..f911bd2f9 100644
--- a/tools/rfc822parse.c
+++ b/tools/rfc822parse.c
@@ -514,7 +514,7 @@ rfc822parse_finish (rfc822parse_t msg)
* part.
*
* WHICH gives the mode:
- * -1 := Take the last occurence
+ * -1 := Take the last occurrence
* n := Take the n-th one.
*
* Returns a newly allocated buffer or NULL on error. errno is set in
@@ -954,7 +954,7 @@ parse_field (HDR_LINE hdr)
* Find and parse a header field.
* WHICH indicates what to do if there are multiple instance of the same
* field (like "Received"); the following value are defined:
- * -1 := Take the last occurence
+ * -1 := Take the last occurrence
* 0 := Reserved
* n := Take the n-th one.
* Returns a handle for further operations on the parse context of the field
diff --git a/tools/symcryptrun.c b/tools/symcryptrun.c
index 3b73cf407..4b90cd267 100644
--- a/tools/symcryptrun.c
+++ b/tools/symcryptrun.c
@@ -49,7 +49,7 @@
The possible exit status codes:
0 Success
- 1 Some error occured
+ 1 Some error occurred
2 No valid passphrase was provided
3 The operation was canceled by the user