Skip to content

Commit 5eed08c

Browse files
fanquakeFuzzbawls
authored andcommitted
random: remove call to RAND_screen() (Windows only)
Follow up to bitcoin#17151 where there were multiple calls to also remove our call to RAND_screen().
1 parent ada9868 commit 5eed08c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/random.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -596,10 +596,6 @@ static void SeedSleep(CSHA512& hasher, RNGState& rng)
596596

597597
static void SeedStartup(CSHA512& hasher, RNGState& rng) noexcept
598598
{
599-
#ifdef WIN32
600-
RAND_screen();
601-
#endif
602-
603599
// Gather 256 bits of hardware randomness, if available
604600
SeedHardwareSlow(hasher);
605601

0 commit comments

Comments
 (0)