aboutsummaryrefslogtreecommitdiff
path: root/src/random.cpp
diff options
context:
space:
mode:
authorfanquake <[email protected]>2019-10-18 14:16:13 -0400
committerfanquake <[email protected]>2019-10-18 14:24:21 -0400
commite892f9648ae5f72b2020bdaa1e28901e8378e9fc (patch)
treecc1db6b49c4251c21cf0cf03e9d05959eb63019a /src/random.cpp
parentMerge #17151: gui: remove OpenSSL PRNG seeding (Windows, Qt only) (diff)
downloaddiscoin-e892f9648ae5f72b2020bdaa1e28901e8378e9fc.tar.xz
discoin-e892f9648ae5f72b2020bdaa1e28901e8378e9fc.zip
random: remove call to RAND_screen() (Windows only)
Follow up to https://github.com/bitcoin/bitcoin/pull/17151 where there were multiple calls to also remove our call to RAND_screen().
Diffstat (limited to 'src/random.cpp')
-rw-r--r--src/random.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/random.cpp b/src/random.cpp
index 0f1322838..48d20d7d7 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);