gnupg/kbx
Werner Koch 2b9ae79ad8
sm: On Windows close the kbx files at several places.
* kbx/keybox-search.c (keybox_search_reset) [W32]: Always close.

* kbx/keybox-init.c (keybox_close_all_files): New.
* sm/keydb.c (keydb_close_all_files): New.
* sm/call-dirmngr.c (gpgsm_dirmngr_isvalid): Call new function.
(gpgsm_dirmngr_lookup): Ditto.
(gpgsm_dirmngr_run_command): Ditto.
--

We need to make sure that there are no open files on Windows.  Thus we
close them at several strategic locations.

GnuPG-bug-id: 4505
2021-03-02 19:01:07 +01:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am Remove -I option to common. 2017-03-07 20:25:54 +09:00
Manifest The keybox gets now compressed after 3 hours and ephemeral 2004-04-26 08:09:25 +00:00
kbxutil.c Backport of the new option parser from 2.3 2020-12-04 12:12:20 +01:00
keybox-blob.c spelling: Fix "synchronize" 2019-06-23 20:17:47 -04:00
keybox-defs.h Replace most of the remaining stdio calls by estream calls. 2020-10-21 21:09:38 +02:00
keybox-dump.c Replace most of the remaining stdio calls by estream calls. 2020-10-21 21:09:38 +02:00
keybox-errors.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox-file.c Replace most of the remaining stdio calls by estream calls. 2020-10-21 21:09:38 +02:00
keybox-init.c sm: On Windows close the kbx files at several places. 2021-03-02 19:01:07 +01:00
keybox-openpgp.c kbx: Better error message in case of a crippled Libgcrypt. 2020-12-02 11:11:47 +01:00
keybox-search-desc.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
keybox-search.c sm: On Windows close the kbx files at several places. 2021-03-02 19:01:07 +01:00
keybox-update.c sm: Remove unused function. 2021-03-02 13:49:55 +01:00
keybox-util.c kbx: Simplify by removing custom memory functions. 2017-12-22 12:55:46 +01:00
keybox.h sm: On Windows close the kbx files at several places. 2021-03-02 19:01:07 +01:00
mkerrors Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00