aboutsummaryrefslogtreecommitdiffstats
path: root/kbx/keybox-file.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2002-06-19 08:29:41 +0000
committerWerner Koch <[email protected]>2002-06-19 08:29:41 +0000
commit031a856a7e8ce850662ce6d16007549a1a5ee34f (patch)
tree3185f03d0cc830c8624238a75e9be4e073d3d2cb /kbx/keybox-file.c
parent* certreqgen.c (read_parameters): Improved error handling. (diff)
downloadgnupg-031a856a7e8ce850662ce6d16007549a1a5ee34f.tar.gz
gnupg-031a856a7e8ce850662ce6d16007549a1a5ee34f.zip
* keybox-init.c (keybox_set_ephemeral): New.
* keybox-blob.c (create_blob_header): Store epheermal flag. (_keybox_create_x509_blob): Pass epheermal flag on. * keybox-update.c (keybox_insert_cert): Ditto. * keybox-search.c (blob_get_blob_flags): New. (keybox_search): Ignore ephemeral blobs when not in ephemeral mode. * keybox-dump.c (_keybox_dump_blob): Print blob flags as strings.
Diffstat (limited to 'kbx/keybox-file.c')
-rw-r--r--kbx/keybox-file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kbx/keybox-file.c b/kbx/keybox-file.c
index 715d3fbe2..79a2e1719 100644
--- a/kbx/keybox-file.c
+++ b/kbx/keybox-file.c
@@ -25,7 +25,8 @@
#include "keybox-defs.h"
-/* Read a block at the current postion ant return it in r_blocb. r_blob may be NULL sto simply skip the current block */
+/* Read a block at the current postion and return it in r_blob.
+ r_blob may be NULL to simply skip the current block */
int
_keybox_read_blob (KEYBOXBLOB *r_blob, FILE *fp)
{