Home GnuPG

hmac: Use xtrymalloc.

Description

hmac: Use xtrymalloc.

* src/hmac256.c (_gcry_hmac256_new): Use xtrymalloc.
(_gcry_hmac256_file): Likewise.

Don't require config.h but stdint.h for STANDALONE.
Drop STANDALONE support for WindowsCE.

(cherry picked from commit 3e3b520fb32a37c5c23762531a7b3168e112ac36)

  • GnuPG-bug-id: T3877
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Apr 11 2018, 1:45 AM
wernerCommitted on Apr 17 2018, 5:37 PM
Parents
rC0da4a237661c: random: Protect another use of jent_rng_collector.
Branches
Unknown
Tags
Unknown
Tasks
T3877: not all malloc performed in libgcrypt covered by gcry_set_allocation_handler