Skip to content

Commit

Permalink
random: remove call to RAND_screen() (Windows only)
Browse files Browse the repository at this point in the history
Follow up to bitcoin#17151 where
there were multiple calls to also remove our call to RAND_screen().
  • Loading branch information
fanquake authored and Fuzzbawls committed Apr 14, 2021
1 parent ada9868 commit 5eed08c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/random.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -596,10 +596,6 @@ static void SeedSleep(CSHA512& hasher, RNGState& rng)

static void SeedStartup(CSHA512& hasher, RNGState& rng) noexcept
{
#ifdef WIN32
RAND_screen();
#endif

// Gather 256 bits of hardware randomness, if available
SeedHardwareSlow(hasher);

Expand Down

0 comments on commit 5eed08c

Please sign in to comment.