mirror of
git://git.gnupg.org/gnupg.git
synced 2024-11-10 21:38:50 +01:00
w32: Make it build again if Tofu support is not available.
* g10/keylist.c (public_key_list) [!USE_TOFU]: Do not call tofu functions. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
68100b4a0b
commit
0d37a40fc3
@ -132,7 +132,9 @@ public_key_list (ctrl_t ctrl, strlist_t list, int locate_mode)
|
|||||||
which is associated with the inode of a deleted file. */
|
which is associated with the inode of a deleted file. */
|
||||||
check_trustdb_stale ();
|
check_trustdb_stale ();
|
||||||
|
|
||||||
|
#ifdef USE_TOFU
|
||||||
tofu_begin_batch_update ();
|
tofu_begin_batch_update ();
|
||||||
|
#endif
|
||||||
|
|
||||||
if (locate_mode)
|
if (locate_mode)
|
||||||
locate_one (ctrl, list);
|
locate_one (ctrl, list);
|
||||||
@ -141,7 +143,9 @@ public_key_list (ctrl_t ctrl, strlist_t list, int locate_mode)
|
|||||||
else
|
else
|
||||||
list_one (ctrl, list, 0, opt.with_secret);
|
list_one (ctrl, list, 0, opt.with_secret);
|
||||||
|
|
||||||
|
#ifdef USE_TOFU
|
||||||
tofu_end_batch_update ();
|
tofu_end_batch_update ();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user