diff options
Diffstat (limited to 'g10/packet.h')
-rw-r--r-- | g10/packet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/packet.h b/g10/packet.h index 41dd1a95a..d05a8f0f2 100644 --- a/g10/packet.h +++ b/g10/packet.h @@ -394,6 +394,7 @@ typedef struct byte pubkey_algo; byte pubkey_usage; /* for now only used to pass it to getkey() */ byte req_usage; /* hack to pass a request to getkey() */ + byte fprlen; /* 0 or length of FPR. */ u32 has_expired; /* set to the expiration date if expired */ /* keyid of the primary key. Never access this value directly. Instead, use pk_main_keyid(). */ @@ -401,6 +402,8 @@ typedef struct /* keyid of this key. Never access this value directly! Instead, use pk_keyid(). */ u32 keyid[2]; + /* Fingerprint of the key. Only valid if FPRLEN is not 0. */ + byte fpr[MAX_FINGERPRINT_LEN]; prefitem_t *prefs; /* list of preferences (may be NULL) */ struct { |