mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
intermediate check in
This commit is contained in:
parent
6fbee8ab86
commit
9b609091ab
38 changed files with 812 additions and 180 deletions
|
@ -26,6 +26,10 @@
|
|||
#define SIGS_PER_RECORD ((TRUST_RECORD_LEN-10)/5)
|
||||
#define ITEMS_PER_HTBL_RECORD ((TRUST_RECORD_LEN-2)/4)
|
||||
#define ITEMS_PER_HLST_RECORD ((TRUST_RECORD_LEN-6)/5)
|
||||
#define ITEMS_PER_PREF_RECORD (TRUST_RECORD_LEN-10)
|
||||
#if ITEMS_PER_PREF_RECORD % 2
|
||||
#error ITEMS_PER_PREF_RECORD must be even
|
||||
#endif
|
||||
#define MAX_LIST_SIGS_DEPTH 20
|
||||
|
||||
|
||||
|
@ -40,7 +44,6 @@
|
|||
#define RECTYPE_HLST 11
|
||||
|
||||
|
||||
|
||||
#define DIRF_CHECKED 1 /* everything has been checked, the other bits are
|
||||
valid */
|
||||
#define DIRF_MISKEY 2 /* some keys are missing, so they could not be checked*/
|
||||
|
@ -91,10 +94,11 @@ struct trust_record {
|
|||
byte uidflags;
|
||||
byte namehash[20]; /* ripemd hash of the username */
|
||||
} uid;
|
||||
struct { /* preference reord */
|
||||
struct { /* preference record */
|
||||
ulong lid; /* point back to the directory record */
|
||||
/* or 0 for a glocal pref record */
|
||||
ulong next; /* points to next pref record */
|
||||
byte data[ITEMS_PER_PREF_RECORD];
|
||||
} pref;
|
||||
struct { /* signature record */
|
||||
ulong lid;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue