mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Pass CTRL object down to the trust functions
Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
fd973ee1c1
commit
027c4e5552
16 changed files with 180 additions and 152 deletions
|
@ -1464,7 +1464,7 @@ keyserver_refresh (ctrl_t ctrl, strlist_t users)
|
|||
/* If the original options didn't have fast import, and the trustdb
|
||||
is dirty, rebuild. */
|
||||
if(!(opt.keyserver_options.import_options&IMPORT_FAST))
|
||||
check_or_update_trustdb ();
|
||||
check_or_update_trustdb (ctrl);
|
||||
|
||||
return err;
|
||||
}
|
||||
|
@ -1885,7 +1885,7 @@ keyserver_fetch (ctrl_t ctrl, strlist_t urilist)
|
|||
/* If the original options didn't have fast import, and the trustdb
|
||||
is dirty, rebuild. */
|
||||
if (!(opt.keyserver_options.import_options&IMPORT_FAST))
|
||||
check_or_update_trustdb ();
|
||||
check_or_update_trustdb (ctrl);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue