aboutsummaryrefslogtreecommitdiffstats
path: root/kbx
diff options
context:
space:
mode:
Diffstat (limited to 'kbx')
-rw-r--r--kbx/keybox-blob.c2
-rw-r--r--kbx/keybox-file.c2
-rw-r--r--kbx/keybox-init.c2
-rw-r--r--kbx/keybox-search-desc.h2
-rw-r--r--kbx/keybox-search.c2
-rw-r--r--kbx/keybox-update.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/kbx/keybox-blob.c b/kbx/keybox-blob.c
index ef72148da..556605a84 100644
--- a/kbx/keybox-blob.c
+++ b/kbx/keybox-blob.c
@@ -54,7 +54,7 @@
** The OpenPGP and X.509 blobs
- The OpenPGP and X.509 blobs are very similiar, things which are
+ The OpenPGP and X.509 blobs are very similar, things which are
X.509 specific are noted like [X.509: xxx]
- u32 Length of this blob (including these 4 bytes)
diff --git a/kbx/keybox-file.c b/kbx/keybox-file.c
index 21d603854..eaf756546 100644
--- a/kbx/keybox-file.c
+++ b/kbx/keybox-file.c
@@ -45,7 +45,7 @@ ftello (FILE *stream)
-/* Read a block at the current postion and return it in r_blob.
+/* Read a block at the current position and return it in r_blob.
r_blob may be NULL to simply skip the current block. */
int
_keybox_read_blob2 (KEYBOXBLOB *r_blob, FILE *fp, int *skipped_deleted)
diff --git a/kbx/keybox-init.c b/kbx/keybox-init.c
index 0d4800e12..618966fad 100644
--- a/kbx/keybox-init.c
+++ b/kbx/keybox-init.c
@@ -228,7 +228,7 @@ keybox_set_ephemeral (KEYBOX_HANDLE hd, int yes)
/* Close the file of the resource identified by HD. For consistent
- results this fucntion closes the files of all handles pointing to
+ results this function closes the files of all handles pointing to
the resource identified by HD. */
void
_keybox_close_file (KEYBOX_HANDLE hd)
diff --git a/kbx/keybox-search-desc.h b/kbx/keybox-search-desc.h
index fd8ffe427..741f2e872 100644
--- a/kbx/keybox-search-desc.h
+++ b/kbx/keybox-search-desc.h
@@ -70,7 +70,7 @@ struct keydb_search_desc
union {
const char *name;
unsigned char fpr[24];
- u32 kid[2]; /* Note that this is in native endianess. */
+ u32 kid[2]; /* Note that this is in native endianness. */
unsigned char grip[20];
} u;
int exact; /* Use exactly this key ('!' suffix in gpg). */
diff --git a/kbx/keybox-search.c b/kbx/keybox-search.c
index a0b778f1b..f3cdb8c7e 100644
--- a/kbx/keybox-search.c
+++ b/kbx/keybox-search.c
@@ -431,7 +431,7 @@ blob_cmp_mail (KEYBOXBLOB blob, const char *name, size_t namelen, int substr,
if (namelen < 1)
return 0;
- /* Note that for X.509 we start at index 1 becuase index 0 is used
+ /* Note that for X.509 we start at index 1 because index 0 is used
for the issuer name. */
for (idx=!!x509 ;idx < nuids; idx++)
{
diff --git a/kbx/keybox-update.c b/kbx/keybox-update.c
index 2eaae86aa..ef3e33009 100644
--- a/kbx/keybox-update.c
+++ b/kbx/keybox-update.c
@@ -80,7 +80,7 @@ create_tmp_file (const char *template,
# ifdef USE_ONLY_8DOT3
/* Here is another Windoze bug?:
- * you cant rename("pubring.kbx.tmp", "pubring.kbx");
+ * you can't rename("pubring.kbx.tmp", "pubring.kbx");
* but rename("pubring.kbx.tmp", "pubring.aaa");
* works. So we replace ".kbx" by ".kb_" or ".k__". Note that we
* can't use ".bak" and ".tmp", because these suffixes are used by