diff options
author | David Shaw <[email protected]> | 2002-12-04 00:05:11 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2002-12-04 00:05:11 +0000 |
commit | 3b7ca1faa5bb9faf4786c8b645e1a6153a48a50d (patch) | |
tree | 1ea75124f93b8721a5674c0a81ecdec50aa24c61 /g10/options.h | |
parent | * options.h, g10.c (main), encode.c (write_pubkey_enc_from_list), (diff) | |
download | gnupg-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/options.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/options.h b/g10/options.h index 9917a4a61..d8857be2e 100644 --- a/g10/options.h +++ b/g10/options.h @@ -88,7 +88,7 @@ struct { int skip_verify; int compress_keys; int compress_sigs; - enum {TM_OPENPGP, TM_CLASSIC, TM_ALWAYS} trust_model; + enum {TM_CLASSIC=0, TM_OPENPGP=1, TM_ALWAYS} trust_model; unsigned int force_ownertrust; int pgp2; int pgp6; |