From 150e5ac09870d63147e3d3e63c2441810479ab2e Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 7 Oct 2005 19:17:20 +0000 Subject: [PATCH] disable RAND_poll() for the alpha of the day; at least 24 hours of testing is in order for something like that. svn:r5216 --- src/common/crypto.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/crypto.c b/src/common/crypto.c index 8a9ba8324c..5322635b6d 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -1581,7 +1581,8 @@ crypto_dh_free(crypto_dh_env_t *dh) /* Use RAND_poll if openssl is 0.9.6 release or later. (The "f" means "release".) */ -#define USE_RAND_POLL (OPENSSL_VERSION_NUMBER >= 0x0090600fl) +// #define USE_RAND_POLL (OPENSSL_VERSION_NUMBER >= 0x0090600fl) +#define USE_RAND_POLL 0 /** Seed OpenSSL's random number generator with bytes from the * operating system. Return 0 on success, -1 on failure.