summaryrefslogtreecommitdiff
path: root/debian/patches/no-openssl-version-check.patch
blob: 9001f656564cbc773b37df78744c365776332812 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Index: b/entropy.c
===================================================================
--- a/entropy.c
+++ b/entropy.c
@@ -151,6 +151,8 @@
 void
 init_rng(void)
 {
+#if defined (DISABLED_BY_DEBIAN)
+  /* drow: Is this check still too strict for Debian?  */
 	/*
 	 * OpenSSL version numbers: MNNFFPPS: major minor fix patch status
 	 * We match major, minor, fix and status (not patch)
@@ -158,6 +160,7 @@
 	if ((SSLeay() ^ OPENSSL_VERSION_NUMBER) & ~0xff0L)
 		fatal("OpenSSL version mismatch. Built against %lx, you "
 		    "have %lx", OPENSSL_VERSION_NUMBER, SSLeay());
+#endif
 
 #ifndef OPENSSL_PRNG_ONLY
 	original_uid = getuid();