mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-06-20 23:47:48 +00:00
Correct definition of ENTROPY_HAVE_STRONG
Mbed TLS 2.1 doesn't have MBEDTLS_TEST_NULL_ENTROPY macro.
This commit is contained in:
parent
7968ad9c31
commit
d2cc7ce4cb
|
@ -59,11 +59,10 @@ typedef UINT32 uint32_t;
|
||||||
|
|
||||||
/* Indicates whether we expect mbedtls_entropy_init
|
/* Indicates whether we expect mbedtls_entropy_init
|
||||||
* to initialize some strong entropy source. */
|
* to initialize some strong entropy source. */
|
||||||
#if defined(MBEDTLS_TEST_NULL_ENTROPY) || \
|
#if !defined(MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES) && \
|
||||||
( !defined(MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES) && \
|
( !defined(MBEDTLS_NO_PLATFORM_ENTROPY) || \
|
||||||
( !defined(MBEDTLS_NO_PLATFORM_ENTROPY) || \
|
defined(MBEDTLS_HAVEGE_C) || \
|
||||||
defined(MBEDTLS_HAVEGE_C) || \
|
defined(MBEDTLS_ENTROPY_HARDWARE_ALT) )
|
||||||
defined(MBEDTLS_ENTROPY_HARDWARE_ALT) ) )
|
|
||||||
#define ENTROPY_HAVE_STRONG
|
#define ENTROPY_HAVE_STRONG
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue