gpg,gpgsm: Block signals during keyring/keybox update.
authorWerner Koch <wk@gnupg.org>
Wed, 3 Aug 2016 13:31:27 +0000 (15:31 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 3 Aug 2016 13:31:27 +0000 (15:31 +0200)
commit48a2c93a1886589d1a0e2a4a2173e0e81311200b
tree80cee1c6eb19941ab9676482f9eb4984d7360e83
parent3a2421c94015432caa49e166bc5bf5c4f80ab7c7
gpg,gpgsm: Block signals during keyring/keybox update.

* kbx/keybox-util.c (keybox_file_rename): Add arg BLOCK_SIGNALS.
* kbx/keybox-update.c (rename_tmp_file): Block all signals when doing
a double rename.
* g10/keyring.c (rename_tmp_file): Block all signals during the double
rename.
--

This might fix
Debian-bug-id: 831510

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/keyring.c
kbx/keybox-update.c
kbx/keybox-util.c
kbx/keybox.h