aboutsummaryrefslogtreecommitdiffstats
path: root/kbx/keybox-search.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2007-03-20 16:57:40 +0000
committerWerner Koch <[email protected]>2007-03-20 16:57:40 +0000
commit12cc96a17617cdb30710ebf51279d0dc39822bb3 (patch)
tree857c3dd12235e676623088871b636490dc826883 /kbx/keybox-search.c
parentMake gpgconf aware of --p12-charset. (diff)
downloadgnupg-12cc96a17617cdb30710ebf51279d0dc39822bb3.tar.gz
gnupg-12cc96a17617cdb30710ebf51279d0dc39822bb3.zip
kbx/
* keybox.h (KEYBOX_FLAG_BLOB_SECRET, KEYBOX_FLAG_BLOB_EPHEMERAL): New. * keybox-update.c (keybox_compress): Use it here instead of a magic constant. sm/ * fingerprint.c (gpgsm_get_fingerprint): Add caching. (gpgsm_get_fingerprint_string): Use bin2hexcolon(). (gpgsm_get_fingerprint_hexstring): Use bin2hex and allocate only as much memory as required. (gpgsm_get_keygrip_hexstring): Use bin2hex. * certchain.c (gpgsm_validate_chain): Keep track of the certificate chain and reset the ephemeral flags. * keydb.c (keydb_set_cert_flags): New args EPHEMERAL and MASK. Changed caller to use a mask of ~0. Return a proper error code if the certificate is not available.
Diffstat (limited to 'kbx/keybox-search.c')
-rw-r--r--kbx/keybox-search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kbx/keybox-search.c b/kbx/keybox-search.c
index 5a205a813..f4e14adac 100644
--- a/kbx/keybox-search.c
+++ b/kbx/keybox-search.c
@@ -828,7 +828,7 @@ keybox_search (KEYBOX_HANDLE hd, KEYBOX_SEARCH_DESC *desc, size_t ndesc)
blobflags = blob_get_blob_flags (blob);
if (!hd->ephemeral && (blobflags & 2))
- continue; /* not in ephemeral mode but blob is flagged ephemeral */
+ continue; /* Not in ephemeral mode but blob is flagged ephemeral. */
for (n=0; n < ndesc; n++)
{