aboutsummaryrefslogtreecommitdiffstats
path: root/g10/trustdb.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2002-12-04 00:05:11 +0000
committerDavid Shaw <[email protected]>2002-12-04 00:05:11 +0000
commit3b7ca1faa5bb9faf4786c8b645e1a6153a48a50d (patch)
tree1ea75124f93b8721a5674c0a81ecdec50aa24c61 /g10/trustdb.c
parent* options.h, g10.c (main), encode.c (write_pubkey_enc_from_list), (diff)
downloadgnupg-3b7ca1faa5bb9faf4786c8b645e1a6153a48a50d.tar.gz
gnupg-3b7ca1faa5bb9faf4786c8b645e1a6153a48a50d.zip
* 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.
Diffstat (limited to '')
-rw-r--r--g10/trustdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/trustdb.c b/g10/trustdb.c
index ffdce2c16..8c732bb99 100644
--- a/g10/trustdb.c
+++ b/g10/trustdb.c
@@ -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;
}