summaryrefslogtreecommitdiff
path: root/entropy.c
diff options
context:
space:
mode:
Diffstat (limited to 'entropy.c')
-rw-r--r--entropy.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/entropy.c b/entropy.c
index ccabb1364..e264063e9 100644
--- a/entropy.c
+++ b/entropy.c
@@ -150,6 +150,8 @@ seed_rng(void)
150void 150void
151init_rng(void) 151init_rng(void)
152{ 152{
153#if defined (DISABLED_BY_DEBIAN)
154 /* drow: Is this check still too strict for Debian? */
153 /* 155 /*
154 * OpenSSL version numbers: MNNFFPPS: major minor fix patch status 156 * OpenSSL version numbers: MNNFFPPS: major minor fix patch status
155 * We match major, minor, fix and status (not patch) 157 * We match major, minor, fix and status (not patch)
@@ -157,6 +159,7 @@ init_rng(void)
157 if ((SSLeay() ^ OPENSSL_VERSION_NUMBER) & ~0xff0L) 159 if ((SSLeay() ^ OPENSSL_VERSION_NUMBER) & ~0xff0L)
158 fatal("OpenSSL version mismatch. Built against %lx, you " 160 fatal("OpenSSL version mismatch. Built against %lx, you "
159 "have %lx", OPENSSL_VERSION_NUMBER, SSLeay()); 161 "have %lx", OPENSSL_VERSION_NUMBER, SSLeay());
162#endif
160 163
161#ifndef OPENSSL_PRNG_ONLY 164#ifndef OPENSSL_PRNG_ONLY
162 original_uid = getuid(); 165 original_uid = getuid();