aboutsummaryrefslogtreecommitdiffstats
path: root/agent
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <[email protected]>2024-05-12 22:09:23 +0000
committerWerner Koch <[email protected]>2024-05-31 10:28:32 +0000
commit42b0e9558a308dbc954ee60c3d346b5cabcd2fdb (patch)
treef073776758cd706a0cadf0bd64073d1669a8d691 /agent
parentg13: Adjust for changed gnupg_process_spawn. (diff)
downloadgnupg-42b0e9558a308dbc954ee60c3d346b5cabcd2fdb.tar.gz
gnupg-42b0e9558a308dbc954ee60c3d346b5cabcd2fdb.zip
indent: Fix spelling
-- These are non-substantive corrections for minor spelling mistakes within the GnuPG codebase. With something like this applied to the codebase, and a judiciously tuned spellchecker integrated as part of a standard test suite, it should be possible to keep a uniform orthography within the project. GnuPG-bug-id: 7116
Diffstat (limited to 'agent')
-rw-r--r--agent/agent.h4
-rw-r--r--agent/call-pinentry.c2
-rw-r--r--agent/command.c2
-rw-r--r--agent/divert-scd.c2
-rw-r--r--agent/findkey.c2
-rw-r--r--agent/gpg-agent.c4
-rw-r--r--agent/protect.c2
-rw-r--r--agent/sexp-secret.c2
-rw-r--r--agent/trustlist.c4
9 files changed, 12 insertions, 12 deletions
diff --git a/agent/agent.h b/agent/agent.h
index dbb3000dd..7ffbd5cc2 100644
--- a/agent/agent.h
+++ b/agent/agent.h
@@ -121,7 +121,7 @@ struct
/* Flag disallowing bypassing of the warning. */
int enforce_passphrase_constraints;
- /* The require minmum length of a passphrase. */
+ /* The required minimum length of a passphrase. */
unsigned int min_passphrase_len;
/* The minimum number of non-alpha characters in a passphrase. */
@@ -286,7 +286,7 @@ struct server_control_s
int algo;
unsigned char value[MAX_DIGEST_LEN];
unsigned int raw_value: 1;
- unsigned int is_pss: 1; /* DATA holds PSS formated data. */
+ unsigned int is_pss: 1; /* DATA holds PSS formatted data. */
} digest;
unsigned int have_keygrip: 1;
unsigned int have_keygrip1: 1;
diff --git a/agent/call-pinentry.c b/agent/call-pinentry.c
index 4a999ca9a..ba37a775e 100644
--- a/agent/call-pinentry.c
+++ b/agent/call-pinentry.c
@@ -884,7 +884,7 @@ struct inq_cb_parm_s
};
-/* Return true if PIN is indentical to the last generated pin. */
+/* Return true if PIN is identical to the last generated pin. */
static int
is_generated_pin (struct inq_cb_parm_s *parm, const char *pin)
{
diff --git a/agent/command.c b/agent/command.c
index 417a8815f..3012680a1 100644
--- a/agent/command.c
+++ b/agent/command.c
@@ -251,7 +251,7 @@ reset_notify (assuan_context_t ctx, char *line)
clear_nonce_cache (ctrl);
- /* Note that a RESET does not clear the ephemeral store becuase
+ /* Note that a RESET does not clear the ephemeral store because
* clients are used to issue a RESET on a connection. */
return 0;
diff --git a/agent/divert-scd.c b/agent/divert-scd.c
index d8c2bcca7..d390ebb06 100644
--- a/agent/divert-scd.c
+++ b/agent/divert-scd.c
@@ -90,7 +90,7 @@ has_percent0A_suffix (const char *string)
INFO gets displayed as part of a generic string. However if the
first character of INFO is a vertical bar all up to the next
- verical bar are considered flags and only everything after the
+ vertical bar are considered flags and only everything after the
second vertical bar gets displayed as the full prompt.
Flags:
diff --git a/agent/findkey.c b/agent/findkey.c
index 1f2938ea3..c0cbce7a2 100644
--- a/agent/findkey.c
+++ b/agent/findkey.c
@@ -1550,7 +1550,7 @@ agent_key_from_file (ctrl_t ctrl, const char *cache_nonce,
{
memcpy (*shadow_info, s, n);
/*
- * When it's a key on card (not on tpm2), maks sure
+ * When it's a key on card (not on tpm2), make sure
* it's available.
*/
if (strcmp (shadow_type, "t1-v1") == 0 && !grip)
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index 3c71ba65d..3e1fb5d5b 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -1216,7 +1216,7 @@ main (int argc, char **argv)
* Now we are now working under our real uid
*/
- /* The configuraton directories for use by gpgrt_argparser. */
+ /* The configuration directories for use by gpgrt_argparser. */
gpgrt_set_confdir (GPGRT_CONFDIR_SYS, gnupg_sysconfdir ());
gpgrt_set_confdir (GPGRT_CONFDIR_USER, gnupg_homedir ());
@@ -1225,7 +1225,7 @@ main (int argc, char **argv)
pargs.argc = &argc;
pargs.argv = &argv;
/* We are re-using the struct, thus the reset flag. We OR the
- * flags so that the internal intialized flag won't be cleared. */
+ * flags so that the internal initialized flag won't be cleared. */
pargs.flags |= (ARGPARSE_FLAG_RESET
| ARGPARSE_FLAG_KEEP
| ARGPARSE_FLAG_SYS
diff --git a/agent/protect.c b/agent/protect.c
index 7197cf7e6..6c9bbaebc 100644
--- a/agent/protect.c
+++ b/agent/protect.c
@@ -509,7 +509,7 @@ do_encryption (const unsigned char *hashbegin, size_t hashlen,
((sha1 salt no_of_iterations) 16byte_iv)
encrypted_octet_string)
- in canoncical format of course. We use asprintf and %n modifier
+ in canonical format of course. We use asprintf and %n modifier
and dummy values as placeholders. */
{
char countbuf[35];
diff --git a/agent/sexp-secret.c b/agent/sexp-secret.c
index ac8daa910..661681620 100644
--- a/agent/sexp-secret.c
+++ b/agent/sexp-secret.c
@@ -22,7 +22,7 @@
#include "../common/sexp-parse.h"
/*
- * When it's for ECC, fixup private key part in the cannonical SEXP
+ * When it's for ECC, fixup private key part in the canonical SEXP
* representation in BUF. If not ECC, do nothing.
*/
gpg_error_t
diff --git a/agent/trustlist.c b/agent/trustlist.c
index fce23de15..a37705b8e 100644
--- a/agent/trustlist.c
+++ b/agent/trustlist.c
@@ -63,7 +63,7 @@ static const char headerblurb[] =
"# well as empty lines are ignored. Lines have a length limit but this\n"
"# is not a serious limitation as the format of the entries is fixed and\n"
"# checked by gpg-agent. A non-comment line starts with optional white\n"
-"# space, followed by the SHA-1 fingerpint in hex, followed by a flag\n"
+"# space, followed by the SHA-1 fingerprint in hex, followed by a flag\n"
"# which may be one of 'P', 'S' or '*' and optionally followed by a list of\n"
"# other flags. The fingerprint may be prefixed with a '!' to mark the\n"
"# key as not trusted. You should give the gpg-agent a HUP or run the\n"
@@ -736,7 +736,7 @@ agent_marktrusted (ctrl_t ctrl, const char *name, const char *fpr, int flag)
insert a line break. The double percent sign is actually
needed because it is also a printf format string. If you
need to insert a plain % sign, you need to encode it as
- "%%25". The second "%s" gets replaced by a hexdecimal
+ "%%25". The second "%s" gets replaced by a hexadecimal
fingerprint string whereas the first one receives the name
as stored in the certificate. */
L_("Please verify that the certificate identified as:%%0A"