Okay, try to use RAND_poll() from OpenSSL where available.

svn:r5229
This commit is contained in:
Nick Mathewson 2005-10-08 05:47:15 +00:00
parent 48caf912a6
commit 9bc2467626

View File

@ -1581,8 +1581,7 @@ 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 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.