Home GnuPG

fips,cipher: Fix memory leak for gcry_pk_hash_sign.

Description

fips,cipher: Fix memory leak for gcry_pk_hash_sign.

* cipher/pubkey.c (prepare_datasexp_to_be_signed): Release
copied HD when error.
  • GnuPG-bug-id: T7338
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Mon, Jan 6, 4:01 AM
Parents
rC53c97483b17f: fips,ecc: Check DATA in gcry_pk_sign/verify in FIPS mode.
Branches
Unknown
Tags
Unknown
References
HEAD -> master
Tasks
T7338: Revamp the FIPS service indicator