openssh/openssh-6.6p1-disable-openssl-abi-check.patch

22 lines
704 B
Diff
Raw Normal View History

# 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
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];
#endif
+#if 0
if (!ssh_compatible_openssl(OPENSSL_VERSION_NUMBER, SSLeay()))
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");