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: 5464 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
e2069d5632
commit
cc6152b802
@ -479,6 +479,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