random: remove call to RAND_screen() (Windows only)
Follow up to https://github.com/bitcoin/bitcoin/pull/17151 where there were multiple calls to also remove our call to RAND_screen().
This commit is contained in:
parent
ddc3cf26ff
commit
e892f9648a
|
@ -594,10 +594,6 @@ static void SeedSleep(CSHA512& hasher, RNGState& rng)
|
||||||
|
|
||||||
static void SeedStartup(CSHA512& hasher, RNGState& rng) noexcept
|
static void SeedStartup(CSHA512& hasher, RNGState& rng) noexcept
|
||||||
{
|
{
|
||||||
#ifdef WIN32
|
|
||||||
RAND_screen();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Gather 256 bits of hardware randomness, if available
|
// Gather 256 bits of hardware randomness, if available
|
||||||
SeedHardwareSlow(hasher);
|
SeedHardwareSlow(hasher);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue