diff --git a/include/mbedtls/config_adjust_legacy_crypto.h b/include/mbedtls/config_adjust_legacy_crypto.h index 66bad0c812..8f70a27188 100644 --- a/include/mbedtls/config_adjust_legacy_crypto.h +++ b/include/mbedtls/config_adjust_legacy_crypto.h @@ -59,14 +59,14 @@ #define MBEDTLS_ENTROPY_HARDWARE_ALT_DEFINED 0 #endif #if defined(MBEDTLS_NO_PLATFORM_ENTROPY) -#define MBEDTLS_PLATFORM_ENTROPY_DEFINED 1 +#define MBEDTLS_PLATFORM_ENTROPY_ENABLED 0 #else -#define MBEDTLS_PLATFORM_ENTROPY_DEFINED 0 +#define MBEDTLS_PLATFORM_ENTROPY_ENABLED 1 #endif #define MBEDTLS_ENTROPY_TRUE_SOURCES ( \ MBEDTLS_ENTROPY_HARDWARE_ALT_DEFINED + \ - MBEDTLS_PLATFORM_ENTROPY_DEFINED + \ + MBEDTLS_PLATFORM_ENTROPY_ENABLED + \ 0) /* Whether there is at least one entropy source for the entropy module.