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 c178c00c..fc710ec2 100644
--- a/entropy.c
+++ b/entropy.c
@@ -219,9 +219,11 @@ seed_rng(void)
#ifndef OPENSSL_PRNG_ONLY
unsigned char buf[RANDOM_SEED_SIZE];
#endif
- if (!ssh_compatible_openssl(OPENSSL_VERSION_NUMBER, SSLeay()))
+ if (!ssh_compatible_openssl(OPENSSL_VERSION_NUMBER,
+ OpenSSL_version_num()))
fatal("OpenSSL version mismatch. Built against %lx, you "
- "have %lx", (u_long)OPENSSL_VERSION_NUMBER, SSLeay());
+ "have %lx", (u_long)OPENSSL_VERSION_NUMBER,
+ OpenSSL_version_num());
#ifndef OPENSSL_PRNG_ONLY
if (RAND_status() == 1) {