Skip to content

Commit e892f96

Browse files
committed
random: remove call to RAND_screen() (Windows only)
Follow up to bitcoin/bitcoin#17151 where there were multiple calls to also remove our call to RAND_screen().
1 parent ddc3cf2 commit e892f96

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/random.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -594,10 +594,6 @@ static void SeedSleep(CSHA512& hasher, RNGState& rng)
594594

595595
static void SeedStartup(CSHA512& hasher, RNGState& rng) noexcept
596596
{
597-
#ifdef WIN32
598-
RAND_screen();
599-
#endif
600-
601597
// Gather 256 bits of hardware randomness, if available
602598
SeedHardwareSlow(hasher);
603599

0 commit comments

Comments
 (0)