From c721d5877509875c8515df0215fa1dab862013bc Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Fri, 23 Nov 2018 14:11:20 +1100 Subject: Move RANDOM_SEED_SIZE outside ifdef. RANDOM_SEED_SIZE is used by both the OpenSSL and non-OpenSSL code This fixes the build with configureed --without-openssl. --- entropy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'entropy.c') diff --git a/entropy.c b/entropy.c index 97e836087..31a7f1c3e 100644 --- a/entropy.c +++ b/entropy.c @@ -24,6 +24,8 @@ #include "includes.h" +#define RANDOM_SEED_SIZE 48 + #ifdef WITH_OPENSSL #include @@ -56,8 +58,6 @@ #include "sshbuf.h" #include "ssherr.h" -#define RANDOM_SEED_SIZE 48 - /* * Portable OpenSSH PRNG seeding: * If OpenSSL has not "internally seeded" itself (e.g. pulled data from -- cgit v1.2.3