aboutsummaryrefslogtreecommitdiff
path: root/tests/suites/helpers.function
diff options
context:
space:
mode:
authorMateusz Starzyk <mateusz.starzyk@mobica.com>2021-04-30 13:28:22 +0200
committerMateusz Starzyk <mateusz.starzyk@mobica.com>2021-05-11 13:15:19 +0200
commit72f60dfcc1fa985f1c665528ef894eac16bf0828 (patch)
tree685731a6872f448436c676cab44e9db0c22747a9 /tests/suites/helpers.function
parentb6800788ca432e8df1de3c7a55e894b9a2e49ba9 (diff)
downloadmbedtls-72f60dfcc1fa985f1c665528ef894eac16bf0828.zip
mbedtls-72f60dfcc1fa985f1c665528ef894eac16bf0828.tar.gz
mbedtls-72f60dfcc1fa985f1c665528ef894eac16bf0828.tar.bz2
Remove MBEDTLS_TEST_NULL_ENTROPY config option.
Building the library without entropy sources negates any and all security provided by the library. This option was originally requested a relatively long time ago and it does not provide any tangible benefit for users any more. Signed-off-by: Mateusz Starzyk <mateusz.starzyk@mobica.com>
Diffstat (limited to 'tests/suites/helpers.function')
-rw-r--r--tests/suites/helpers.function9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/suites/helpers.function b/tests/suites/helpers.function
index 27d9249..2ef07fa 100644
--- a/tests/suites/helpers.function
+++ b/tests/suites/helpers.function
@@ -87,11 +87,10 @@ jmp_buf jmp_tmp;
/* Indicates whether we expect mbedtls_entropy_init
* to initialize some strong entropy source. */
-#if defined(MBEDTLS_TEST_NULL_ENTROPY) || \
- ( !defined(MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES) && \
- ( !defined(MBEDTLS_NO_PLATFORM_ENTROPY) || \
- defined(MBEDTLS_ENTROPY_HARDWARE_ALT) || \
- defined(ENTROPY_NV_SEED) ) )
+#if !defined(MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES) && \
+ ( !defined(MBEDTLS_NO_PLATFORM_ENTROPY) || \
+ defined(MBEDTLS_ENTROPY_HARDWARE_ALT) || \
+ defined(ENTROPY_NV_SEED) )
#define ENTROPY_HAVE_STRONG
#endif