aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-09-26 20:16:30 +0000
committerChristian Grothoff <christian@grothoff.org>2012-09-26 20:16:30 +0000
commited40c38220a0c32976a0fda56aec1e7499df858b (patch)
tree696a0a16392032acfc6f5e4ab7bea90390c71143 /src/util
parente96bf692ed1707f342c8db4cc97e1294683d0595 (diff)
downloadgnunet-ed40c38220a0c32976a0fda56aec1e7499df858b.tar.gz
gnunet-ed40c38220a0c32976a0fda56aec1e7499df858b.zip
releaxing libgcrypt version check, fixing Debian #684997
Diffstat (limited to 'src/util')
-rw-r--r--src/util/crypto_random.c4
1 files changed, 2 insertions, 2 deletions
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 ()
335void __attribute__ ((constructor)) GNUNET_CRYPTO_random_init () 335void __attribute__ ((constructor)) GNUNET_CRYPTO_random_init ()
336{ 336{
337 gcry_control (GCRYCTL_DISABLE_SECMEM, 0); 337 gcry_control (GCRYCTL_DISABLE_SECMEM, 0);
338 if (!gcry_check_version (GCRYPT_VERSION)) 338 if (!gcry_check_version (NEED_LIBGCRYPT_VERSION))
339 { 339 {
340 FPRINTF (stderr, 340 FPRINTF (stderr,
341 _ 341 _
342 ("libgcrypt has not the expected version (version %s is required).\n"), 342 ("libgcrypt has not the expected version (version %s is required).\n"),
343 GCRYPT_VERSION); 343 NEED_LIBGCRYPT_VERSION);
344 GNUNET_abort (); 344 GNUNET_abort ();
345 } 345 }
346#ifdef GCRYCTL_INITIALIZATION_FINISHED 346#ifdef GCRYCTL_INITIALIZATION_FINISHED