Merge #17191: random: remove call to RAND_screen() (Windows only)

e892f9648a 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 e892f9648a
  laanwj:
    ACK e892f9648a

Tree-SHA512: 1b846016d91e8113f90466b61fcaf0574edb6b4726eba1947549e2ac28907e1318d893f7b303e756f19730c8507c79b10e08d54b97153224b585ff1e0ac1953e
This commit is contained in:
Wladimir J. van der Laan 2019-10-21 09:53:26 +02:00
commit 0d6b6b7c65
No known key found for this signature in database
GPG key ID: 1E4AED62986CD25D

View file

@ -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);