1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +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:
NIIBE Yutaka 2021-09-28 14:49:21 +09:00 committed by Werner Koch
parent 323a20399d
commit a17f1b6074
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -472,6 +472,7 @@ free_packet (PACKET *pkt, parse_packet_ctx_t parsectx)
break;
case PKT_ENCRYPTED:
case PKT_ENCRYPTED_MDC:
case PKT_ENCRYPTED_AEAD:
free_encrypted (pkt->pkt.encrypted);
break;
case PKT_PLAINTEXT: