Revert "crypto/rand/rand_win.c: include "e_os.h" to get the default _WIN32_WINNT"

I turns out that this made crypto/rand/rand_win.c to never build with
BCrypt support unless the user sets _WIN32_WINNT.  That wasn't the
intent.

This reverts commit cc8926ec8f.

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/8641)

(cherry picked from commit 705a27f7e0)
This commit is contained in:
Richard Levitte 2019-04-02 14:40:11 +02:00
parent 5a87dd1d34
commit a88bafcdb7

View file

@ -11,7 +11,6 @@
#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