crypto/rand/rand_win.c: include "e_os.h" to get the default _WIN32_WINNT
This helps decide if the BCrypt API should be used or not.
Fixes #8635
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8638)
(cherry picked from commit cc8926ec8f
)
This commit is contained in:
parent
e686a2774e
commit
7a3c4b374b
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
#include <openssl/rand.h>
|
||||
#include "rand_lcl.h"
|
||||
#include "internal/rand_int.h"
|
||||
#include "e_os.h" /* For a default _WIN32_WINNT */
|
||||
#if defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_WIN32)
|
||||
|
||||
# ifndef OPENSSL_RAND_SEED_OS
|
||||
|
|
Loading…
Reference in a new issue