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 8b705397f..3f63239f4 100644
--- a/entropy.c
+++ b/entropy.c
@@ -151,6 +151,8 @@ seed_rng(void)
151void 151void
152init_rng(void) 152init_rng(void)
153{ 153{
154#if defined (DISABLED_BY_DEBIAN)
155 /* drow: Is this check still too strict for Debian? */
154 /* 156 /*
155 * OpenSSL version numbers: MNNFFPPS: major minor fix patch status 157 * OpenSSL version numbers: MNNFFPPS: major minor fix patch status
156 * We match major, minor, fix and status (not patch) 158 * We match major, minor, fix and status (not patch)
@@ -158,6 +160,7 @@ init_rng(void)
158 if ((SSLeay() ^ OPENSSL_VERSION_NUMBER) & ~0xff0L) 160 if ((SSLeay() ^ OPENSSL_VERSION_NUMBER) & ~0xff0L)
159 fatal("OpenSSL version mismatch. Built against %lx, you " 161 fatal("OpenSSL version mismatch. Built against %lx, you "
160 "have %lx", OPENSSL_VERSION_NUMBER, SSLeay()); 162 "have %lx", OPENSSL_VERSION_NUMBER, SSLeay());
163#endif
161 164
162#ifndef OPENSSL_PRNG_ONLY 165#ifndef OPENSSL_PRNG_ONLY
163 original_uid = getuid(); 166 original_uid = getuid();