Skip to content

Commit 0d6b6b7

Browse files
committed
Merge #17191: random: remove call to RAND_screen() (Windows only)
e892f96 random: remove call to RAND_screen() (Windows only) (fanquake) Pull request description: Follow up to bitcoin/bitcoin#17151 where there were multiple calls to also remove our call to RAND_screen(). ACKs for top commit: MarcoFalke: unsigned ACK e892f96 laanwj: ACK e892f96 Tree-SHA512: 1b846016d91e8113f90466b61fcaf0574edb6b4726eba1947549e2ac28907e1318d893f7b303e756f19730c8507c79b10e08d54b97153224b585ff1e0ac1953e
2 parents 0d7e8d6 + e892f96 commit 0d6b6b7

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)