aboutsummaryrefslogtreecommitdiffstats
path: root/g10/packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'g10/packet.h')
-rw-r--r--g10/packet.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/g10/packet.h b/g10/packet.h
index 0449c7d5f..549e8cc83 100644
--- a/g10/packet.h
+++ b/g10/packet.h
@@ -186,6 +186,15 @@ typedef struct {
char name[1];
} PKT_user_id;
+struct revoke_info
+{
+ /* revoked at this date */
+ u32 date;
+ /* the keyid of the revoking key (selfsig or designated revoker) */
+ u32 keyid[2];
+ /* the algo of the revoking key */
+ byte algo;
+};
/****************
* Note about the pkey/skey elements: We assume that the secret keys
@@ -197,7 +206,7 @@ typedef struct {
u32 timestamp; /* key made */
u32 expiredate; /* expires at this date or 0 if not at all */
u32 max_expiredate; /* must not expire past this date */
- u32 revokedate; /* revoked at this date */
+ struct revoke_info revoked;
byte hdrbytes; /* number of header bytes */
byte version;
byte selfsigversion; /* highest version of all of the self-sigs */