From ed40c38220a0c32976a0fda56aec1e7499df858b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 26 Sep 2012 20:16:30 +0000 Subject: releaxing libgcrypt version check, fixing Debian #684997 --- src/util/crypto_random.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/util/crypto_random.c') diff --git a/src/util/crypto_random.c b/src/util/crypto_random.c index 8dce1080c..29b25524d 100644 --- a/src/util/crypto_random.c +++ b/src/util/crypto_random.c @@ -335,12 +335,12 @@ killfind () void __attribute__ ((constructor)) GNUNET_CRYPTO_random_init () { gcry_control (GCRYCTL_DISABLE_SECMEM, 0); - if (!gcry_check_version (GCRYPT_VERSION)) + if (!gcry_check_version (NEED_LIBGCRYPT_VERSION)) { FPRINTF (stderr, _ ("libgcrypt has not the expected version (version %s is required).\n"), - GCRYPT_VERSION); + NEED_LIBGCRYPT_VERSION); GNUNET_abort (); } #ifdef GCRYCTL_INITIALIZATION_FINISHED -- cgit v1.2.3