aboutsummaryrefslogtreecommitdiffstats
path: root/g10/packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'g10/packet.h')
-rw-r--r--g10/packet.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/g10/packet.h b/g10/packet.h
index 29e58d2df..ac6df7d5c 100644
--- a/g10/packet.h
+++ b/g10/packet.h
@@ -339,12 +339,20 @@ typedef struct
struct revoke_info
{
- /* revoked at this date */
+ /* Revoked at this date */
u32 date;
- /* the keyid of the revoking key (selfsig or designated revoker) */
+ /* The keyid of the revoking key (selfsig or designated revoker) */
u32 keyid[2];
- /* the algo of the revoking key */
+ /* A malloced string of len reason_comment_len with the raw reason
+ * string or NULL if not given. */
+ char *reason_comment;
+ size_t reason_comment_len;
+ /* The algo of the revoking key */
byte algo;
+ /* The reason code. */
+ byte reason_code;
+ /* Whether the above reason fields are valid. */
+ byte got_reason;
};