From fac45fbafefdfb77076018e6a5267df96c30c53e Mon Sep 17 00:00:00 2001 From: Minos Galanakis Date: Mon, 18 Sep 2023 11:12:41 +0100 Subject: [PATCH] entropy_poll: Removed checks for windows versions < WINXP Signed-off-by: Minos Galanakis --- library/entropy_poll.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/library/entropy_poll.c b/library/entropy_poll.c index 5eb6d7f55c..9d5b1e652b 100644 --- a/library/entropy_poll.c +++ b/library/entropy_poll.c @@ -49,7 +49,6 @@ #if defined(_WIN32) && !defined(EFIX64) && !defined(EFI32) #include -#if _WIN32_WINNT >= 0x0501 /* _WIN32_WINNT_WINXP */ #include #include @@ -79,9 +78,6 @@ int mbedtls_platform_entropy_poll(void *data, unsigned char *output, size_t len, return 0; } -#else /* !_WIN32_WINNT_WINXP */ -#error "Entropy not available before Windows XP, use MBEDTLS_NO_PLATFORM_ENTROPY" -#endif /* !_WIN32_WINNT_WINXP */ #else /* _WIN32 && !EFIX64 && !EFI32 */ /*