mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +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:
parent
e357092285
commit
3b7ca1faa5
5 changed files with 51 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue