-try with finished
authorChristian Grothoff <christian@grothoff.org>
Tue, 31 Jan 2012 00:28:11 +0000 (00:28 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 31 Jan 2012 00:28:11 +0000 (00:28 +0000)
src/util/crypto_random.c

index 121dbef9a544809cf56b9498243e729bec433347..8f9ba80f6e579e20806d4099d8088a31677458c1 100644 (file)
@@ -309,6 +309,9 @@ void __attribute__ ((constructor)) GNUNET_CRYPTO_random_init ()
              GCRYPT_VERSION);
     GNUNET_abort ();
   }
+#ifdef GCRYCTL_INITIALIZATION_FINISHED
+  gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0);
+#endif
 #ifdef gcry_fast_random_poll
   gcry_fast_random_poll ();
 #endif