mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-23 10:29:58 +01:00
gpg: Skip the packet when not used for AEAD.
* g10/free-packet.c (free_packet): Add the case for case PKT_ENCRYPTED_AEAD. -- GnuPG-bug-id: 5584 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org> (bug id fixed in this backport)
This commit is contained in:
parent
323a20399d
commit
a17f1b6074
@ -472,6 +472,7 @@ free_packet (PACKET *pkt, parse_packet_ctx_t parsectx)
|
|||||||
break;
|
break;
|
||||||
case PKT_ENCRYPTED:
|
case PKT_ENCRYPTED:
|
||||||
case PKT_ENCRYPTED_MDC:
|
case PKT_ENCRYPTED_MDC:
|
||||||
|
case PKT_ENCRYPTED_AEAD:
|
||||||
free_encrypted (pkt->pkt.encrypted);
|
free_encrypted (pkt->pkt.encrypted);
|
||||||
break;
|
break;
|
||||||
case PKT_PLAINTEXT:
|
case PKT_PLAINTEXT:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user