mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-06-03 05:20:39 +02:00
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.
This commit is contained in:
parent
deb51552c3
commit
c721d58775
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user