1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

* tdbio.h, tdbio.c (tdbio_read_record, tdbio_write_record): Store trust

model in the trustdb version record. (tdbio_update_version_record): New
function to update version record values during a trustdb check or update.
(tdbio_dump_record): Show trust model in dump.

* trustdb.c (validate_keys): Call tdbio_update_version_record on success
so that the correct options are stored in the trustdb.

* options.h: rearrange trust models so that CLASSIC is 0 and OPENPGP is 1.
This commit is contained in:
David Shaw 2002-12-04 00:05:11 +00:00
parent e357092285
commit 3b7ca1faa5
5 changed files with 51 additions and 9 deletions

View file

@ -1912,6 +1912,7 @@ validate_keys (int interactive)
log_info (_("next trustdb check due at %s\n"),
strtimestamp (next_expire));
}
tdbio_update_version_record();
do_sync ();
pending_check_trustdb = 0;
}