diff options
author | Werner Koch <wk@gnupg.org> | 2014-01-09 19:14:09 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2014-01-13 11:24:23 +0100 |
commit | 518ae274a1845ce626b2b4223a9b3805cbbab1a7 (patch) | |
tree | c28907b98123b06d116a8f55f6358ecf783242a6 /src | |
parent | 91d3a2cc7ed2114b9f1821133eafc79efb55edca (diff) | |
download | libgcrypt-518ae274a1845ce626b2b4223a9b3805cbbab1a7.tar.gz |
Use internal malloc function in fips.c
* src/fips.c (check_binary_integrity): s/gcry_malloc/xtrymalloc/.
--
This fixes a build problem with ENABLE_HMAC_BINARY_CHECK.
Reported-by: Michal Vyskocil.
Diffstat (limited to 'src')
-rw-r--r-- | src/fips.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -602,7 +602,7 @@ check_binary_integrity (void) err = gpg_error (GPG_ERR_INTERNAL); else { - fname = gcry_malloc (strlen (info.dli_fname) + 1 + 5 + 1 ); + fname = xtrymalloc (strlen (info.dli_fname) + 1 + 5 + 1 ); if (!fname) err = gpg_error_from_syserror (); else |