diff options
author | David Shaw <[email protected]> | 2002-10-03 19:20:37 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2002-10-03 19:20:37 +0000 |
commit | fcefffcb005d4df0fd075fb0d0f210a465a8156c (patch) | |
tree | 5d2dba10da87bd11933bfdc7d77b471fefb813ef /g10/packet.h | |
parent | * import.c (import_secret_one): Check for an illegal (>110) protection (diff) | |
download | gnupg-fcefffcb005d4df0fd075fb0d0f210a465a8156c.tar.gz gnupg-fcefffcb005d4df0fd075fb0d0f210a465a8156c.zip |
* keylist.c (print_capabilities): Secret-parts-missing keys should show
that fact in the capabilities, and only primary signing keys can certify
other keys.
* packet.h, parse_packet.c (parse_key): Add is_primary flag for public
keys (it already exists for secret keys).
Diffstat (limited to 'g10/packet.h')
-rw-r--r-- | g10/packet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/packet.h b/g10/packet.h index c5556a6ba..fdca455a1 100644 --- a/g10/packet.h +++ b/g10/packet.h @@ -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 */ |