summaryrefslogtreecommitdiff
path: root/entropy.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2012-03-19 11:06:07 +0000
committerColin Watson <cjwatson@debian.org>2012-03-19 11:06:07 +0000
commit27eab7b074d48d902e421067165270c10e64f49c (patch)
tree4232790013000acf911a05c36bbc843aecdc6298 /entropy.c
parent18a05171cd83cba446866e0a26e7376aee4e6554 (diff)
Disable OpenSSL version check again, as its SONAME is sufficient
nowadays (closes: #664383).
Diffstat (limited to 'entropy.c')
-rw-r--r--entropy.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/entropy.c b/entropy.c
index 2d6d3ec52..2aee2d917 100644
--- a/entropy.c
+++ b/entropy.c
@@ -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) {