From 27eab7b074d48d902e421067165270c10e64f49c Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Mon, 19 Mar 2012 11:06:07 +0000 Subject: Disable OpenSSL version check again, as its SONAME is sufficient nowadays (closes: #664383). --- debian/patches/no-openssl-version-check.patch | 27 +++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 28 insertions(+) create mode 100644 debian/patches/no-openssl-version-check.patch (limited to 'debian/patches') diff --git a/debian/patches/no-openssl-version-check.patch b/debian/patches/no-openssl-version-check.patch new file mode 100644 index 000000000..d88d0fff0 --- /dev/null +++ b/debian/patches/no-openssl-version-check.patch @@ -0,0 +1,27 @@ +Description: Disable OpenSSL version check + OpenSSL's SONAME is sufficient nowadays. +Author: Philip Hands +Author: Colin Watson +Bug-Debian: http://bugs.debian.org/93581 +Bug-Debian: http://bugs.debian.org/664383 +Forwarded: not-needed +Last-Update: 2012-03-19 + +Index: b/entropy.c +=================================================================== +--- a/entropy.c ++++ b/entropy.c +@@ -209,13 +209,6 @@ + #ifndef OPENSSL_PRNG_ONLY + unsigned char buf[RANDOM_SEED_SIZE]; + #endif +- /* +- * 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) { diff --git a/debian/patches/series b/debian/patches/series index 2be7cf10a..11059c095 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -39,5 +39,6 @@ doc-hash-tab-completion.patch auth-log-verbosity.patch # Debian-specific configuration +no-openssl-version-check.patch gnome-ssh-askpass2-icon.patch debian-config.patch -- cgit v1.2.3