From 4f88ee6a348efb0dc2c51f488838689cf33bbdef Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 7 Jan 2014 12:59:02 +0000 Subject: bad comment, option actually not required anymore as we do not use VERY_STRONG anyway --- src/util/crypto_random.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/util/crypto_random.c b/src/util/crypto_random.c index 6840445d1..ce7ec70f3 100644 --- a/src/util/crypto_random.c +++ b/src/util/crypto_random.c @@ -1,6 +1,6 @@ /* - This file is part of GNUnet. - (C) 2001-2013 Christian Grothoff (and other contributing authors) + This file is part of GNUnet. (C) 2001-2013 Christian Grothoff + (and other contributing authors) GNUnet is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published @@ -286,13 +286,6 @@ GNUNET_CRYPTO_random_init () "Failed to set libgcrypt option %s: %s\n", "DISABLE_SECMEM", gcry_strerror (rc)); - /* we only generate ephemeral keys in-process; for those, - we are fine with "just" using GCRY_STRONG_RANDOM */ - if ((rc = gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0))) - FPRINTF (stderr, - "Failed to set libgcrypt option %s: %s\n", - "ENABLE_QUICK_RANDOM", - gcry_strerror (rc)); gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0); gcry_fast_random_poll (); GNUNET_CRYPTO_seed_weak_random (time (NULL) ^ -- cgit v1.2.3