Home GnuPG
Diffusion GnuPG af6ac2ac0293

gpg: Clean up pk_ecdh_decrypt function.

Description

gpg: Clean up pk_ecdh_decrypt function.

* g10/ecdh.c (pk_ecdh_decrypt): Allocate just the right size of memory
for the session key, simplifying the decrypt process.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jan 26 2024, 6:13 AM
Parents
rGccfbb9ebdf2e: kbx: Have threads monitoring socket takeover and homedir if no inotify.
Branches
Unknown
Tags
Unknown