diff options
author | Werner Koch <wk@gnupg.org> | 2002-06-19 10:29:41 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2002-06-19 10:29:41 +0200 |
commit | 031a856a7e8ce850662ce6d16007549a1a5ee34f (patch) | |
tree | 3185f03d0cc830c8624238a75e9be4e073d3d2cb /kbx/keybox-update.c | |
parent | * certreqgen.c (read_parameters): Improved error handling. (diff) | |
download | gnupg2-031a856a7e8ce850662ce6d16007549a1a5ee34f.tar.xz gnupg2-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-update.c')
-rw-r--r-- | kbx/keybox-update.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kbx/keybox-update.c b/kbx/keybox-update.c index d49c3d027..96a30b9c1 100644 --- a/kbx/keybox-update.c +++ b/kbx/keybox-update.c @@ -357,7 +357,7 @@ keybox_insert_cert (KEYBOX_HANDLE hd, KsbaCert cert, hd->fp = NULL; } - rc = _keybox_create_x509_blob (&blob, cert, sha1_digest); + rc = _keybox_create_x509_blob (&blob, cert, sha1_digest, hd->ephemeral); if (!rc) { rc = blob_filecopy (1, fname, blob, hd->secret, 0, 0 ); |