[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Okay, try to use RAND_poll() from OpenSSL where available.
Update of /home/or/cvsroot/tor/src/common
In directory moria:/tmp/cvs-serv14563/src/common
Modified Files:
crypto.c
Log Message:
Okay, try to use RAND_poll() from OpenSSL where available.
Index: crypto.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/crypto.c,v
retrieving revision 1.167
retrieving revision 1.168
diff -u -d -r1.167 -r1.168
--- crypto.c 7 Oct 2005 19:53:57 -0000 1.167
+++ crypto.c 8 Oct 2005 05:47:15 -0000 1.168
@@ -1581,8 +1581,7 @@
/* 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 0
+#define USE_RAND_POLL (OPENSSL_VERSION_NUMBER >= 0x0090600fl)
/** Seed OpenSSL's random number generator with bytes from the
* operating system. Return 0 on success, -1 on failure.