summaryrefslogtreecommitdiff
path: root/debian/patches/no-openssl-version-check.patch
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2010-02-27 14:05:10 +0000
committerColin Watson <cjwatson@debian.org>2010-02-27 14:05:10 +0000
commit8dcc7c5ef45cf5032dca7a308ffe17d3935e62d5 (patch)
tree2e0d8058bdfc24a60a20c5bcbfd1075ef1048ff3 /debian/patches/no-openssl-version-check.patch
parente44a1fb6e8e59e67e5c8b6e83c0d8566d146aad9 (diff)
Convert to source format 3.0 (quilt).
Diffstat (limited to 'debian/patches/no-openssl-version-check.patch')
-rw-r--r--debian/patches/no-openssl-version-check.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/no-openssl-version-check.patch b/debian/patches/no-openssl-version-check.patch
new file mode 100644
index 000000000..9001f6565
--- /dev/null
+++ b/debian/patches/no-openssl-version-check.patch
@@ -0,0 +1,21 @@
1Index: b/entropy.c
2===================================================================
3--- a/entropy.c
4+++ b/entropy.c
5@@ -151,6 +151,8 @@
6 void
7 init_rng(void)
8 {
9+#if defined (DISABLED_BY_DEBIAN)
10+ /* drow: Is this check still too strict for Debian? */
11 /*
12 * OpenSSL version numbers: MNNFFPPS: major minor fix patch status
13 * We match major, minor, fix and status (not patch)
14@@ -158,6 +160,7 @@
15 if ((SSLeay() ^ OPENSSL_VERSION_NUMBER) & ~0xff0L)
16 fatal("OpenSSL version mismatch. Built against %lx, you "
17 "have %lx", OPENSSL_VERSION_NUMBER, SSLeay());
18+#endif
19
20 #ifndef OPENSSL_PRNG_ONLY
21 original_uid = getuid();