diff options
author | Colin Watson <cjwatson@debian.org> | 2012-03-19 11:06:07 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2012-03-19 11:06:07 +0000 |
commit | 27eab7b074d48d902e421067165270c10e64f49c (patch) | |
tree | 4232790013000acf911a05c36bbc843aecdc6298 /entropy.c | |
parent | 18a05171cd83cba446866e0a26e7376aee4e6554 (diff) |
Disable OpenSSL version check again, as its SONAME is sufficient
nowadays (closes: #664383).
Diffstat (limited to 'entropy.c')
-rw-r--r-- | entropy.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -209,13 +209,6 @@ seed_rng(void) | |||
209 | #ifndef OPENSSL_PRNG_ONLY | 209 | #ifndef OPENSSL_PRNG_ONLY |
210 | unsigned char buf[RANDOM_SEED_SIZE]; | 210 | unsigned char buf[RANDOM_SEED_SIZE]; |
211 | #endif | 211 | #endif |
212 | /* | ||
213 | * OpenSSL version numbers: MNNFFPPS: major minor fix patch status | ||
214 | * We match major, minor, fix and status (not patch) | ||
215 | */ | ||
216 | if ((SSLeay() ^ OPENSSL_VERSION_NUMBER) & ~0xff0L) | ||
217 | fatal("OpenSSL version mismatch. Built against %lx, you " | ||
218 | "have %lx", (u_long)OPENSSL_VERSION_NUMBER, SSLeay()); | ||
219 | 212 | ||
220 | #ifndef OPENSSL_PRNG_ONLY | 213 | #ifndef OPENSSL_PRNG_ONLY |
221 | if (RAND_status() == 1) { | 214 | if (RAND_status() == 1) { |