1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-07 23:27:48 +02: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:
Werner Koch 2012-01-12 12:19:54 +01:00
parent 16c90b2175
commit 02f282368e

View File

@ -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;