summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2014-01-09 19:14:09 +0100
committerWerner Koch <wk@gnupg.org>2014-01-13 11:24:23 +0100
commit518ae274a1845ce626b2b4223a9b3805cbbab1a7 (patch)
treec28907b98123b06d116a8f55f6358ecf783242a6 /src
parent91d3a2cc7ed2114b9f1821133eafc79efb55edca (diff)
downloadlibgcrypt-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fips.c b/src/fips.c
index 8148dcdb..3ab33f93 100644
--- a/src/fips.c
+++ b/src/fips.c
@@ -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