Home GnuPG

fips: Fix memory leaks in FIPS mode

Description

fips: Fix memory leaks in FIPS mode

* cipher/pubkey.c (_gcry_pk_sign_md): Fix memory leak in FIPS mode when
  used with SHA1
* tests/basic.c (check_one_cipher_core): Add missing free in error code
  triggered in FIPS mode
* tests/dsa-rfc6979.c (check_dsa_rfc6979): Likewise
* tests/pubkey.c (check_x931_derived_key): Likewise
  • Signed-off-by: Clemens Lang <cllang@redhat.com>

Details

Provenance
Clemens Lang via Gcrypt-devel <gcrypt-devel@lists.gnupg.org>Authored on Feb 11 2022, 4:55 PM
gniibeCommitted on Feb 14 2022, 7:01 AM
Parents
rCb7dcb576bc1b: Register DCO for Clemens Lang.
Branches
Unknown
Tags
Unknown

Event Timeline

gniibe committed rC7fc5d33e7416: fips: Fix memory leaks in FIPS mode (authored by Clemens Lang via Gcrypt-devel <gcrypt-devel@lists.gnupg.org>).Feb 14 2022, 7:01 AM