summaryrefslogtreecommitdiff
path: root/entropy.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2018-10-23 17:10:41 +1100
committerDamien Miller <djm@mindrot.org>2018-10-23 17:10:41 +1100
commit859754bdeb41373d372e36b5dc89c547453addb3 (patch)
tree8255b9851d8fa6339f25e2044a1572624eebca8d /entropy.c
parentb9fea45a68946c8dfeace72ad1f6657c18f2a98a (diff)
remove remaining references to SSLeay
Prompted by Rosen Penev
Diffstat (limited to 'entropy.c')
-rw-r--r--entropy.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/entropy.c b/entropy.c
index c178c00cf..fc710ec23 100644
--- a/entropy.c
+++ b/entropy.c
@@ -219,9 +219,11 @@ seed_rng(void)
219#ifndef OPENSSL_PRNG_ONLY 219#ifndef OPENSSL_PRNG_ONLY
220 unsigned char buf[RANDOM_SEED_SIZE]; 220 unsigned char buf[RANDOM_SEED_SIZE];
221#endif 221#endif
222 if (!ssh_compatible_openssl(OPENSSL_VERSION_NUMBER, SSLeay())) 222 if (!ssh_compatible_openssl(OPENSSL_VERSION_NUMBER,
223 OpenSSL_version_num()))
223 fatal("OpenSSL version mismatch. Built against %lx, you " 224 fatal("OpenSSL version mismatch. Built against %lx, you "
224 "have %lx", (u_long)OPENSSL_VERSION_NUMBER, SSLeay()); 225 "have %lx", (u_long)OPENSSL_VERSION_NUMBER,
226 OpenSSL_version_num());
225 227
226#ifndef OPENSSL_PRNG_ONLY 228#ifndef OPENSSL_PRNG_ONLY
227 if (RAND_status() == 1) { 229 if (RAND_status() == 1) {