summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-10-07 19:17:20 +0000
committerNick Mathewson <nickm@torproject.org>2005-10-07 19:17:20 +0000
commit150e5ac09870d63147e3d3e63c2441810479ab2e (patch)
tree3369dc296e8cfdd14699200d2d4c83f90bceb233
parenta53ecc94f9cda30d4c82b51c5d9ff32c879017ca (diff)
downloadtor-150e5ac09870d63147e3d3e63c2441810479ab2e.tar.gz
tor-150e5ac09870d63147e3d3e63c2441810479ab2e.zip
disable RAND_poll() for the alpha of the day; at least 24 hours of testing is in order for something like that.
svn:r5216
-rw-r--r--src/common/crypto.c3
1 files changed, 2 insertions, 1 deletions
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.