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 committed Oct 18, 2019
1 parent ddc3cf2 commit e892f96
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 @@ -594,10 +594,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 e892f96

Please sign in to comment.