2013-09-19 06:09:33 +02:00
|
|
|
# disable run-time check for OpenSSL ABI by version number as that is not a
|
|
|
|
# reliable indicator of ABI changes and doesn't make much sense in a
|
|
|
|
# distribution package
|
|
|
|
|
2016-01-21 08:28:30 +01:00
|
|
|
Index: b/entropy.c
|
|
|
|
===================================================================
|
|
|
|
--- a/entropy.c
|
|
|
|
+++ b/entropy.c
|
|
|
|
@@ -213,10 +213,11 @@ seed_rng(void)
|
|
|
|
#ifndef OPENSSL_PRNG_ONLY
|
|
|
|
unsigned char buf[RANDOM_SEED_SIZE];
|
2013-09-19 06:09:33 +02:00
|
|
|
#endif
|
|
|
|
+#if 0
|
2016-01-21 08:28:30 +01:00
|
|
|
if (!ssh_compatible_openssl(OPENSSL_VERSION_NUMBER, SSLeay()))
|
2013-09-19 06:09:33 +02:00
|
|
|
fatal("OpenSSL version mismatch. Built against %lx, you "
|
|
|
|
"have %lx", (u_long)OPENSSL_VERSION_NUMBER, SSLeay());
|
|
|
|
-
|
|
|
|
+#endif
|
|
|
|
#ifndef OPENSSL_PRNG_ONLY
|
|
|
|
if (RAND_status() == 1) {
|
|
|
|
debug3("RNG is ready, skipping seeding");
|