diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2021-09-28 07:49:21 +0200 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2021-09-28 07:49:21 +0200 |
commit | cc6152b802f2ab0ceaf3abb20caef6f7d806ffa3 (patch) | |
tree | e3b9956e9b814578c6a2ce6791cd598e4413fcb6 /g10 | |
parent | build: Fix several "include file not found" problems (diff) | |
download | gnupg2-cc6152b802f2ab0ceaf3abb20caef6f7d806ffa3.tar.xz gnupg2-cc6152b802f2ab0ceaf3abb20caef6f7d806ffa3.zip |
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>
Diffstat (limited to 'g10')
-rw-r--r-- | g10/free-packet.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/free-packet.c b/g10/free-packet.c index 6d7b34961..243cc7518 100644 --- a/g10/free-packet.c +++ b/g10/free-packet.c @@ -479,6 +479,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: |