aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-05-24 11:01:27 +0000
committerWerner Koch <[email protected]>2016-05-24 11:04:29 +0000
commit9bbb841bd9ed2350299608b043cd144ff934815b (patch)
tree00d955c84238fc2c54527786944c75180b5ce720
parenttests: Test the pinentry interactions when exporting keys. (diff)
downloadgnupg-9bbb841bd9ed2350299608b043cd144ff934815b.tar.gz
gnupg-9bbb841bd9ed2350299608b043cd144ff934815b.zip
gpg, w32: Fix build regression.
-- Fixes-commit: 754b1c463034a634a678d8efc76c27fd46aad9b9
-rw-r--r--g10/gpg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index f901bbd11..a88499afb 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -2046,7 +2046,9 @@ gpg_init_default_ctrl (ctrl_t ctrl)
static void
gpg_deinit_default_ctrl (ctrl_t ctrl)
{
+#ifdef USE_TOFU
tofu_closedbs (ctrl);
+#endif
gpg_dirmngr_deinit_session_data (ctrl);
}