diff options
Diffstat (limited to 'debian/patches/no-openssl-version-check.patch')
-rw-r--r-- | debian/patches/no-openssl-version-check.patch | 21 |
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 @@ | |||
1 | Index: 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(); | ||