gpg, w32: Fix build regression.
authorWerner Koch <wk@gnupg.org>
Tue, 24 May 2016 11:01:27 +0000 (13:01 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 24 May 2016 11:04:29 +0000 (13:04 +0200)
--

Fixes-commit: 754b1c463034a634a678d8efc76c27fd46aad9b9

g10/gpg.c

index f901bbd..a88499a 100644 (file)
--- 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);
 }