mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-05-10 00:49:04 +08:00
entropy_poll: Removed checks for windows versions < WINXP
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
This commit is contained in:
parent
c91d847e0d
commit
fac45fbafe
@ -49,7 +49,6 @@
|
|||||||
#if defined(_WIN32) && !defined(EFIX64) && !defined(EFI32)
|
#if defined(_WIN32) && !defined(EFIX64) && !defined(EFI32)
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#if _WIN32_WINNT >= 0x0501 /* _WIN32_WINNT_WINXP */
|
|
||||||
#include <bcrypt.h>
|
#include <bcrypt.h>
|
||||||
#include <intsafe.h>
|
#include <intsafe.h>
|
||||||
|
|
||||||
@ -79,9 +78,6 @@ int mbedtls_platform_entropy_poll(void *data, unsigned char *output, size_t len,
|
|||||||
|
|
||||||
return 0;
|
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 */
|
#else /* _WIN32 && !EFIX64 && !EFI32 */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user