Skip to content

Commit

Permalink
crypto/rand/rand_win.c: include "e_os.h" to get the default _WIN32_WINNT
Browse files Browse the repository at this point in the history
This helps decide if the BCrypt API should be used or not.

Fixes #8635

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from #8638)

(cherry picked from commit cc8926e)
  • Loading branch information
levitte committed Apr 2, 2019
1 parent e686a27 commit 7a3c4b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crypto/rand/rand_win.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a3c4b3

Please sign in to comment.