mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
dirmngr: Require --allow-version-check even if --use-tor is used.
* dirmngr/dirmngr.c (housekeeping_thread): Load swdb only if the option is set. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
e17fa5c75d
commit
b0e8376e19
2 changed files with 3 additions and 3 deletions
|
@ -1798,7 +1798,7 @@ housekeeping_thread (void *arg)
|
|||
if (network_activity_seen)
|
||||
{
|
||||
network_activity_seen = 0;
|
||||
if (opt.use_tor || opt.allow_version_check)
|
||||
if (opt.allow_version_check)
|
||||
dirmngr_load_swdb (&ctrlbuf, 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue