diff options
author | Darren Tucker <dtucker@dtucker.net> | 2018-11-23 04:11:20 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2018-11-23 04:11:20 +0100 |
commit | c721d5877509875c8515df0215fa1dab862013bc (patch) | |
tree | 494eb21f21abc079376248ac52335d50c1fbcf76 /entropy.c | |
parent | Resync with OpenBSD by pulling in an ifdef SIGINFO. (diff) | |
download | openssh-c721d5877509875c8515df0215fa1dab862013bc.tar.xz openssh-c721d5877509875c8515df0215fa1dab862013bc.zip |
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.
Diffstat (limited to 'entropy.c')
-rw-r--r-- | entropy.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,6 +24,8 @@ #include "includes.h" +#define RANDOM_SEED_SIZE 48 + #ifdef WITH_OPENSSL #include <sys/types.h> @@ -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 |