mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-02 21:11:05 +01:00
gpg: Remove unused fields from a trust data structure.
The functions tdbio_read_record and tdbio_write_record control the actual on-disk format. Thus there is no need to keep reserved fields in the internal data structure. * g10/tdbio.h (struct trust_record): Remove reserved fields.
This commit is contained in:
parent
16c90b2175
commit
02f282368e
@ -56,10 +56,7 @@ struct trust_record {
|
||||
byte trust_model;
|
||||
ulong created; /* timestamp of trustdb creation */
|
||||
ulong nextcheck; /* timestamp of next scheduled check */
|
||||
ulong reserved;
|
||||
ulong reserved2;
|
||||
ulong firstfree;
|
||||
ulong reserved3;
|
||||
ulong trusthashtbl;
|
||||
} ver;
|
||||
struct { /* free record */
|
||||
@ -81,7 +78,7 @@ struct trust_record {
|
||||
} trust;
|
||||
struct {
|
||||
byte namehash[20];
|
||||
ulong next;
|
||||
ulong next;
|
||||
byte validity;
|
||||
byte full_count;
|
||||
byte marginal_count;
|
||||
|
Loading…
x
Reference in New Issue
Block a user