diff options
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) { |