1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

* packet.h, parse_packet (parse_key): Add is_primary flag for public keys

(it already exists for secret keys).

* keylist.c (print_capabilities): Only primary signing keys can certify
other keys.
This commit is contained in:
David Shaw 2002-10-03 17:40:10 +00:00
parent 27d526298b
commit 3f2d94179f
4 changed files with 23 additions and 3 deletions

View file

@ -202,6 +202,7 @@ typedef struct {
ulong local_id; /* internal use, valid if > 0 */
u32 main_keyid[2]; /* keyid of the primary key */
u32 keyid[2]; /* calculated by keyid_from_pk() */
byte is_primary;
prefitem_t *prefs; /* list of preferences (may be NULL) */
int mdc_feature; /* mdc feature set */
byte *namehash; /* if != NULL: found by this name */