aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@protonmail.com>2019-10-21 09:53:26 +0200
committerWladimir J. van der Laan <laanwj@protonmail.com>2019-10-21 09:53:32 +0200
commit0d6b6b7c658b26810c35cb8f467157a1396ab041 (patch)
treefe0cbd8ed0e77467081099494b5300f6d6400948
parent0d7e8d66c45c55f2335660940173334e62c1133e (diff)
parente892f9648ae5f72b2020bdaa1e28901e8378e9fc (diff)
Merge #17191: random: remove call to RAND_screen() (Windows only)
e892f9648ae5f72b2020bdaa1e28901e8378e9fc random: remove call to RAND_screen() (Windows only) (fanquake) Pull request description: Follow up to https://github.com/bitcoin/bitcoin/pull/17151 where there were multiple calls to also remove our call to RAND_screen(). ACKs for top commit: MarcoFalke: unsigned ACK e892f9648ae5f72b2020bdaa1e28901e8378e9fc laanwj: ACK e892f9648ae5f72b2020bdaa1e28901e8378e9fc Tree-SHA512: 1b846016d91e8113f90466b61fcaf0574edb6b4726eba1947549e2ac28907e1318d893f7b303e756f19730c8507c79b10e08d54b97153224b585ff1e0ac1953e
-rw-r--r--src/random.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/random.cpp b/src/random.cpp
index 0f13228383..48d20d7d72 100644
--- a/src/random.cpp
+++ b/src/random.cpp
@@ -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);