diff options
Diffstat (limited to 'g10/packet.h')
-rw-r--r-- | g10/packet.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/g10/packet.h b/g10/packet.h index eb7da7520..2c1b478c1 100644 --- a/g10/packet.h +++ b/g10/packet.h @@ -175,6 +175,11 @@ typedef struct subpktarea_t *unhashed; /* Ditto for unhashed data. */ byte digest_start[2]; /* First 2 bytes of the digest. */ gcry_mpi_t data[PUBKEY_MAX_NSIG]; + /* The message digest and its length (in bytes). Note the maximum + digest length is 512 bits (64 bytes). If DIGEST_LEN is 0, then + the digest's value has not been saved here. */ + byte digest[512 / 8]; + int digest_len; } PKT_signature; #define ATTRIB_IMAGE 1 |