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

* packet.h, tdbio.h, tdbio.c (tdbio_read_record, tdbio_write_record),

trustdb.c (update_validity): Store temporary full & marginal counts in the
trustdb. (clear_validity, get_validity_counts): Return and clear temp
counts. (store_validation_status): Keep track of which keyids have been
stored. (validate_one_keyblock, validate_key_list): Use per-uid copies of
the full & marginal counts so they can be recalled for multiple levels.
(validate_keys): Only use unused keys for each new round.
(reset_unconnected_keys): Rename to reset_trust_records, and only skip
specifically excluded records.
This commit is contained in:
David Shaw 2003-01-06 22:32:20 +00:00
parent 462b2f93ca
commit eb6c0aa2be
5 changed files with 169 additions and 85 deletions

View file

@ -50,7 +50,7 @@ struct trust_record {
ulong recnum;
union {
struct { /* version record: */
byte version; /* should be 3 */
byte version; /* should be 3 */
byte marginals;
byte completes;
byte cert_depth;
@ -82,6 +82,8 @@ struct trust_record {
byte namehash[20];
ulong next;
byte validity;
byte full_count;
byte marginal_count;
} valid;
} r;
};