Home GnuPG
Diffusion GnuPG 1eaf1e236e60

gpg: Simplify the pubkey_enc_list object

Description

gpg: Simplify the pubkey_enc_list object

* g10/packet.h (struct pubkey_enc_list): Replace most by a
PKT_pubkey_enc member.
* g10/free-packet.c (free_pubkey_enc): Factor most stuff out to ...
(release_pubkey_enc_parts): new.
(copy_pubkey_enc_parts): New.
* g10/mainproc.c (release_list): Adjust for above change.
(proc_pubkey_enc): Ditto.
(print_pkenc_list): Ditto.
(proc_encrypted): Ditto.

Details

Provenance
wernerAuthored on Sep 3 2024, 6:20 PM
Parents
rG1e2515726676: gpg: remove workaround for Libgcrypt < 1.8.6
Branches
Unknown
Tags
Unknown