Home GnuPG
Diffusion GnuPG e4d3c3aa2220

kbx,gpg,gpgsm: Introduce keybox_compress_when_no_other_users.
e4d3c3aa2220Unpublished

Unpublished Commit · Learn More

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

Description

kbx,gpg,gpgsm: Introduce keybox_compress_when_no_other_users.

* kbx/keybox.h (keybox_compress_when_no_other_users): Rename from
keybox_compress.
* kbx/keybox-update.c (keybox_compress_when_no_other_users): Hhandle
locking internally.
* g10/keydb.c (keydb_add_resource): Simply call
keybox_compress_when_no_other_users which handles locking internally.
* sm/keydb.c (keydb_add_resource): Likewise.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Tue, Oct 14, 10:00 AM
Parents
rG8cc2a0e0ffee: gpg: Minor clean up for keydb_lock API.
Branches
Unknown
Tags
Unknown