mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-09 12:54:23 +01:00
trustdb checks/updates after import
This commit is contained in:
parent
10e83fb88c
commit
b9c091bd86
@ -1,3 +1,8 @@
|
|||||||
|
2002-09-21 Stefan Bellon <sbellon@sbellon.de>
|
||||||
|
|
||||||
|
* import.c (import_keys): Added trustdb update/check to key import
|
||||||
|
if not fast-import and interactive set/no-auto-check-trustdb unset.
|
||||||
|
|
||||||
2002-09-19 David Shaw <dshaw@jabberwocky.com>
|
2002-09-19 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* keyserver.c (keyserver_spawn): Properly handle line truncation.
|
* keyserver.c (keyserver_spawn): Properly handle line truncation.
|
||||||
|
12
g10/import.c
12
g10/import.c
@ -207,7 +207,17 @@ import_keys( char **fnames, int nnames, int fast,
|
|||||||
import_print_stats (stats);
|
import_print_stats (stats);
|
||||||
import_release_stats_handle (stats);
|
import_release_stats_handle (stats);
|
||||||
}
|
}
|
||||||
|
/* If no fast import and we really added new keys or merged new
|
||||||
|
user ids, signatures or revocations, then update/check the
|
||||||
|
trustdb if the user specified by setting interactive or by
|
||||||
|
not setting no-auto-check-trustdb */
|
||||||
|
if (!fast && (stats->imported || stats->n_uids ||
|
||||||
|
stats->n_sigs || stats->n_revoc)) {
|
||||||
|
if (opt.interactive)
|
||||||
|
update_trustdb();
|
||||||
|
else if (!opt.no_auto_check_trustdb)
|
||||||
|
check_trustdb();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
Loading…
x
Reference in New Issue
Block a user