Skip to content

Commit cdf303d

Browse files
laanwjkwvg
authored andcommitted
Merge bitcoin#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#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
1 parent 33ad55c commit cdf303d

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
@@ -592,10 +592,6 @@ static void SeedSleep(CSHA512& hasher, RNGState& rng)
592592

593593
static void SeedStartup(CSHA512& hasher, RNGState& rng) noexcept
594594
{
595-
#ifdef WIN32
596-
RAND_screen();
597-
#endif
598-
599595
// Gather 256 bits of hardware randomness, if available
600596
SeedHardwareSlow(hasher);
601597

0 commit comments

Comments
 (0)