16 lines
490 B
Diff
16 lines
490 B
Diff
|
--- entropy.c.orig
|
||
|
+++ entropy.c
|
||
|
@@ -213,10 +213,11 @@ seed_rng(void)
|
||
|
* OpenSSL version numbers: MNNFFPPS: major minor fix patch status
|
||
|
* We match major, minor, fix and status (not patch)
|
||
|
*/
|
||
|
+ /*
|
||
|
if ((SSLeay() ^ OPENSSL_VERSION_NUMBER) & ~0xff0L)
|
||
|
fatal("OpenSSL version mismatch. Built against %lx, you "
|
||
|
"have %lx", (u_long)OPENSSL_VERSION_NUMBER, SSLeay());
|
||
|
-
|
||
|
+*/
|
||
|
#ifndef OPENSSL_PRNG_ONLY
|
||
|
if (RAND_status() == 1) {
|
||
|
debug3("RNG is ready, skipping seeding");
|