aboutsummaryrefslogtreecommitdiffstats
path: root/kbx/keybox-search.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2008-04-01 15:08:57 +0000
committerWerner Koch <[email protected]>2008-04-01 15:08:57 +0000
commit80f77d79c516ca636cfc9382effa5f224f31f0f4 (patch)
treeada520eaf81592573a79719d51bc9a1dda42f0d4 /kbx/keybox-search.c
parentFix problem when using the fallback dirmngr. (diff)
downloadgnupg-80f77d79c516ca636cfc9382effa5f224f31f0f4.tar.gz
gnupg-80f77d79c516ca636cfc9382effa5f224f31f0f4.zip
Fix a problem with dirmngr looked up certificates.
Typo fixes.
Diffstat (limited to 'kbx/keybox-search.c')
-rw-r--r--kbx/keybox-search.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/kbx/keybox-search.c b/kbx/keybox-search.c
index a45f617e9..fc397c7ed 100644
--- a/kbx/keybox-search.c
+++ b/kbx/keybox-search.c
@@ -458,7 +458,7 @@ blob_cmp_mail (KEYBOXBLOB blob, const char *name, size_t namelen, int substr)
#ifdef KEYBOX_WITH_X509
/* Return true if the key in BLOB matches the 20 bytes keygrip GRIP.
We don't have the keygrips as meta data, thus wen need to parse the
- certificate. Fixme: We might wat to return proper error codes
+ certificate. Fixme: We might want to return proper error codes
instead of failing a search for invalid certificates etc. */
static int
blob_x509_has_grip (KEYBOXBLOB blob, const unsigned char *grip)
@@ -750,10 +750,10 @@ keybox_search (KEYBOX_HANDLE hd, KEYBOX_SEARCH_DESC *desc, size_t ndesc)
}
}
- /* kludge: we need to convert an SN given as hexstring to it's
- binary representation - in some cases we are not able to store it
- in the search descriptor, because due to its usage it is not
- possible to free allocated memory */
+ /* Kludge: We need to convert an SN given as hexstring to its binary
+ representation - in some cases we are not able to store it in the
+ search descriptor, because due to the way we use it, it is not
+ possible to free allocated memory. */
if (sn_array)
{
const unsigned char *s;