Home GnuPG
Diffusion GnuPG 3e441d5b299f

kbx,gpg,gpgsm: More changes for compressing the keybox.
3e441d5b299fUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

kbx,gpg,gpgsm: More changes for compressing the keybox.

* kbx/keybox.h (keybox_compress_when_no_other_users): Change the
arguments and return type.
* kbx/keybox-update.c (keybox_compress_when_no_other_users): Open
the HD internally, and make sure all resources are closed before
unlocking.
* g10/keydb.c (keydb_add_resource): Follow the change.
* sm/keydb.c (keydb_add_resource): Likewise.
  • GnuPG-bug-id: T7855
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Wed, Oct 15, 2:31 AM
Parents
rGe4d3c3aa2220: kbx,gpg,gpgsm: Introduce keybox_compress_when_no_other_users.
Branches
Unknown
Tags
Unknown