aboutsummaryrefslogtreecommitdiffstats
path: root/kbx
diff options
context:
space:
mode:
Diffstat (limited to 'kbx')
-rw-r--r--kbx/keybox-blob.c4
-rw-r--r--kbx/keybox-defs.h2
-rw-r--r--kbx/keybox-openpgp.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/kbx/keybox-blob.c b/kbx/keybox-blob.c
index 82f1cfec3..687421219 100644
--- a/kbx/keybox-blob.c
+++ b/kbx/keybox-blob.c
@@ -65,7 +65,7 @@
1 = The only defined value
- u16 Blob flags
bit 0 = contains secret key material (not used)
- bit 1 = ephemeral blob (e.g. used while quering external resources)
+ bit 1 = ephemeral blob (e.g. used while querying external resources)
- u32 Offset to the OpenPGP keyblock or the X.509 DER encoded
certificate
- u32 The length of the keyblock or certificate
@@ -229,7 +229,7 @@ struct keyboxblob {
-/* A simple implemention of a dynamic buffer. Use init_membuf() to
+/* A simple implementation of a dynamic buffer. Use init_membuf() to
create a buffer, put_membuf to append bytes and get_membuf to
release and return the buffer. Allocation errors are detected but
only returned at the final get_membuf(), this helps not to clutter
diff --git a/kbx/keybox-defs.h b/kbx/keybox-defs.h
index 154d4fca6..fd331f12b 100644
--- a/kbx/keybox-defs.h
+++ b/kbx/keybox-defs.h
@@ -33,7 +33,7 @@
#include <sys/types.h> /* off_t */
-/* We include the type defintions from jnlib instead of defining our
+/* We include the type definitions from jnlib instead of defining our
owns here. This will not allow us build KBX in a standalone way
but there is currently no need for it anyway. Same goes for
stringhelp.h which for example provides a replacement for stpcpy -
diff --git a/kbx/keybox-openpgp.c b/kbx/keybox-openpgp.c
index d82c2cb75..0ba0b9ae8 100644
--- a/kbx/keybox-openpgp.c
+++ b/kbx/keybox-openpgp.c
@@ -296,7 +296,7 @@ parse_key (const unsigned char *data, size_t datalen,
}
else
{
- /* Its a pitty that we need to prefix the buffer with the tag
+ /* Its a pity that we need to prefix the buffer with the tag
and a length header: We can't simply pass it to the fast
hashing function for that reason. It might be a good idea to
have a scatter-gather enabled hash function. What we do here