aboutsummaryrefslogtreecommitdiffstats
path: root/g10/objcache.c
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <[email protected]>2020-02-18 14:34:42 +0000
committerDaniel Kahn Gillmor <[email protected]>2020-02-18 23:07:46 +0000
commit0904b8ef348a52335c378bee6dc90a978885d66f (patch)
treeaff1ea1d709d45724af04b7e985bca1284bdb2a0 /g10/objcache.c
parentdoc: Correction of typo in documentation of KEY_CONSIDERED (diff)
downloadgnupg-0904b8ef348a52335c378bee6dc90a978885d66f.tar.gz
gnupg-0904b8ef348a52335c378bee6dc90a978885d66f.zip
Spelling cleanup.
No functional changes, just fixing minor spelling issues. --- Most of these were identified from the command line by running: codespell \ --ignore-words-list fpr,stati,keyserver,keyservers,asign,cas,iff,ifset \ --skip '*.po,ChangeLog*,help.*.txt,*.jpg,*.eps,*.pdf,*.png,*.gpg,*.asc' \ doc g13 g10 kbx agent artwork scd tests tools am common dirmngr sm \ NEWS README README.maint TODO Signed-off-by: Daniel Kahn Gillmor <[email protected]>
Diffstat (limited to 'g10/objcache.c')
-rw-r--r--g10/objcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/objcache.c b/g10/objcache.c
index a90b4d9d8..8d9ccefca 100644
--- a/g10/objcache.c
+++ b/g10/objcache.c
@@ -369,7 +369,7 @@ key_table_get (PKT_public_key *pk, u32 *keyid)
/* Found. We need to check for dups. */
for (ki2 = ki->next; ki2; ki2 = ki2->next)
if (ki2->keyid[0] == keyid[0] && ki2->keyid[1] == keyid[1])
- return NULL; /* Duplicated keyid - retrun NULL. */
+ return NULL; /* Duplicated keyid - return NULL. */
/* This is the only one - return it. */
return ki;
@@ -486,7 +486,7 @@ key_table_put (PKT_public_key *pk, uid_item_t ui)
}
/* Add an item to the bucket. We allocate a whole block of items
- * for cache performace reasons. */
+ * for cache performance reasons. */
if (!key_item_attic)
{
key_item_t kiblock;