aboutsummaryrefslogtreecommitdiffstats
path: root/kbx
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 /kbx
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 'kbx')
-rw-r--r--kbx/backend-sqlite.c2
-rw-r--r--kbx/backend-support.c4
-rw-r--r--kbx/frontend.c2
-rw-r--r--kbx/kbxserver.c2
-rw-r--r--kbx/keybox-init.c2
-rw-r--r--kbx/keybox-search-desc.h2
-rw-r--r--kbx/keyboxd.c2
7 files changed, 8 insertions, 8 deletions
diff --git a/kbx/backend-sqlite.c b/kbx/backend-sqlite.c
index ec891da6d..2398aa77f 100644
--- a/kbx/backend-sqlite.c
+++ b/kbx/backend-sqlite.c
@@ -884,7 +884,7 @@ run_select_statement (ctrl_t ctrl, be_sqlite_local_t ctx,
goto leave;
}
- /* Check whether we can re-use the current select statement. */
+ /* Check whether we can reuse the current select statement. */
if (!ctx->select_stmt)
;
else if (ctx->select_mode != desc[descidx].mode)
diff --git a/kbx/backend-support.c b/kbx/backend-support.c
index 4d3738064..2f0c7168a 100644
--- a/kbx/backend-support.c
+++ b/kbx/backend-support.c
@@ -207,7 +207,7 @@ be_is_x509_blob (const unsigned char *blob, size_t bloblen)
* SEQUENCE SEQUENCE [0] INTEGER INTEGER
* (tbs) (version) (s/n)
*
- * Note that v0 certificates don't have an explict version number.
+ * Note that v0 certificates don't have an explicit version number.
*/
p = blob;
@@ -229,7 +229,7 @@ be_is_x509_blob (const unsigned char *blob, size_t bloblen)
if (!(class == CLASS_CONTEXT && tag == 0 && cons))
{
if (class == CLASS_UNIVERSAL && tag == TAG_INTEGER && !cons)
- return 1; /* Might be a X.509 v0 cert with implict version. */
+ return 1; /* Might be a X.509 v0 cert with implicit version. */
return 0; /* No context tag. */
}
diff --git a/kbx/frontend.c b/kbx/frontend.c
index 9cb9f145f..f0f2af960 100644
--- a/kbx/frontend.c
+++ b/kbx/frontend.c
@@ -1,4 +1,4 @@
-/* frontend.c - Database fronend code for keyboxd
+/* frontend.c - Database frontend code for keyboxd
* Copyright (C) 2019 g10 Code GmbH
*
* This file is part of GnuPG.
diff --git a/kbx/kbxserver.c b/kbx/kbxserver.c
index d09a8f8eb..3e68bfc26 100644
--- a/kbx/kbxserver.c
+++ b/kbx/kbxserver.c
@@ -93,7 +93,7 @@ struct server_local_s
* multi_search_desc_len. If a search description has ever been
* allocated the allocated size is stored at multi_search_desc_size.
* multi_search_store is allocated at the same size as
- * multi_search_desc and used to provde backing store for the SN and
+ * multi_search_desc and used to provide backing store for the SN and
* NAME elements of KEYBOX_SEARCH_DESC. */
KEYBOX_SEARCH_DESC search_desc;
KEYBOX_SEARCH_DESC *multi_search_desc;
diff --git a/kbx/keybox-init.c b/kbx/keybox-init.c
index 439d1c477..7bd206383 100644
--- a/kbx/keybox-init.c
+++ b/kbx/keybox-init.c
@@ -103,7 +103,7 @@ keybox_is_writable (void *token)
}
-/* Change the default buffering to KBYTES KiB; using 0 uses the syste
+/* Change the default buffering to KBYTES KiB; using 0 uses the system
* buffers. This function must be called early. */
void
keybox_set_buffersize (unsigned int kbytes, int reserved)
diff --git a/kbx/keybox-search-desc.h b/kbx/keybox-search-desc.h
index f312da99b..eda299beb 100644
--- a/kbx/keybox-search-desc.h
+++ b/kbx/keybox-search-desc.h
@@ -1,4 +1,4 @@
-/* keybox-search-desc.h - Keybox serch description
+/* keybox-search-desc.h - Keybox search description
* Copyright (C) 2001 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
diff --git a/kbx/keyboxd.c b/kbx/keyboxd.c
index 73905eb7d..ad14d8681 100644
--- a/kbx/keyboxd.c
+++ b/kbx/keyboxd.c
@@ -529,7 +529,7 @@ main (int argc, char **argv )
/* Reset the flags. */
pargs.flags &= ~(ARGPARSE_FLAG_KEEP | ARGPARSE_FLAG_NOVERSION);
- /* 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 ());