summaryrefslogtreecommitdiffstats
path: root/kbx
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2018-10-24 21:56:18 +0200
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2018-10-24 21:56:18 +0200
commit54eb375ff14e2a93cea70eab35719be4d25f51ca (patch)
tree99a6159cfc9cc26696ddd5c842095fd046cb8d6e /kbx
parentdoc: fix spelling mistakes (diff)
downloadgnupg2-54eb375ff14e2a93cea70eab35719be4d25f51ca.tar.xz
gnupg2-54eb375ff14e2a93cea70eab35719be4d25f51ca.zip
all: fix spelling and typos
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Diffstat (limited to 'kbx')
-rw-r--r--kbx/keybox-blob.c2
-rw-r--r--kbx/keybox-errors.c2
-rw-r--r--kbx/keybox-search.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/kbx/keybox-blob.c b/kbx/keybox-blob.c
index 687421219..817253590 100644
--- a/kbx/keybox-blob.c
+++ b/kbx/keybox-blob.c
@@ -616,7 +616,7 @@ create_blob_header (KEYBOXBLOB blob, int blobtype, int as_ephemeral)
if (blobtype == KEYBOX_BLOBTYPE_X509)
{
/* We don't want to point to ASN.1 encoded UserIDs (DNs) but to
- the utf-8 string represenation of them */
+ the utf-8 string representation of them */
for (i=0; i < blob->nuids; i++ )
{
if (blob->uids[i].name)
diff --git a/kbx/keybox-errors.c b/kbx/keybox-errors.c
index ce2b498d0..cb5a092d9 100644
--- a/kbx/keybox-errors.c
+++ b/kbx/keybox-errors.c
@@ -8,7 +8,7 @@
* keybox_strerror:
* @err: Error code
*
- * This function returns a textual representaion of the given
+ * This function returns a textual representation of the given
* errorcode. If this is an unknown value, a string with the value
* is returned (Beware: it is hold in a static buffer).
*
diff --git a/kbx/keybox-search.c b/kbx/keybox-search.c
index e309cce98..0a050ff9b 100644
--- a/kbx/keybox-search.c
+++ b/kbx/keybox-search.c
@@ -1069,7 +1069,7 @@ keybox_search (KEYBOX_HANDLE hd, KEYBOX_SEARCH_DESC *desc, size_t ndesc,
/* Return the last found keyblock. Returns 0 on success and stores a
- * new iobuf at R_IOBUF. R_UID_NO and R_PK_NO are used to retun the
+ * new iobuf at R_IOBUF. R_UID_NO and R_PK_NO are used to return the
* number of the key or user id which was matched the search criteria;
* if not known they are set to 0. */
gpg_error_t