diff options
| author | NIIBE Yutaka <[email protected]> | 2025-10-22 01:41:34 +0000 |
|---|---|---|
| committer | NIIBE Yutaka <[email protected]> | 2025-10-22 01:41:34 +0000 |
| commit | a0beed35d6c6be02414bb28fc7fa00758b8f5789 (patch) | |
| tree | 572fc907c2dc0d8440e84d01dc392d8ecade8d61 /g10/parse-packet.c | |
| parent | po: Update Japanese Translation. (diff) | |
| download | gnupg-a0beed35d6c6be02414bb28fc7fa00758b8f5789.tar.gz gnupg-a0beed35d6c6be02414bb28fc7fa00758b8f5789.zip | |
kbx,gpg,gpgsm: Introduce keybox_compress_when_no_other_users.
* kbx/keybox.h (keybox_compress_when_no_other_users): Rename from
keybox_compress, changing the arguments and the 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): Simply call
keybox_compress_when_no_other_users which handles locking internally.
* sm/keydb.c (keydb_add_resource): Likewise.
--
GnuPG-bug-id: 7855
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'g10/parse-packet.c')
0 files changed, 0 insertions, 0 deletions
