rand_win.c: loosen version requirements for BCryptGenRandom
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Tue, 2 Apr 2019 10:35:46 +0000 (12:35 +0200)
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Tue, 2 Apr 2019 12:29:59 +0000 (14:29 +0200)
commit5a87dd1d34e6f7dd9c4cef45b88f12d84e050215
treeb91359d41baee63799afa010805ec0ae013c86bf
parent7a3c4b374bf5e7aa990ac473acba7db1c941f876
rand_win.c: loosen version requirements for BCryptGenRandom

BCryptGenRandom() is available for Windows Vista and newer versions, see
https://docs.microsoft.com/en-us/windows/desktop/api/bcrypt/nf-bcrypt-bcryptgenrandom

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8639)

(cherry picked from commit 2621e6405d7f4765bc57c86ec441129e7d367f14)
crypto/rand/rand_win.c