aboutsummaryrefslogtreecommitdiff
path: root/Makefile
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 /Makefile
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 'Makefile')
-rw-r--r--Makefile9
1 files changed, 0 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 6a8b230..8d1a6ce 100644
--- a/Makefile
+++ b/Makefile
@@ -59,12 +59,6 @@ uninstall:
done
endif
-WARNING_BORDER =*******************************************************\n
-NULL_ENTROPY_WARN_L1=**** WARNING! MBEDTLS_TEST_NULL_ENTROPY defined! ****\n
-NULL_ENTROPY_WARN_L2=**** THIS BUILD HAS NO DEFINED ENTROPY SOURCES ****\n
-NULL_ENTROPY_WARN_L3=**** AND IS *NOT* SUITABLE FOR PRODUCTION USE ****\n
-
-NULL_ENTROPY_WARNING=\n$(WARNING_BORDER)$(NULL_ENTROPY_WARN_L1)$(NULL_ENTROPY_WARN_L2)$(NULL_ENTROPY_WARN_L3)$(WARNING_BORDER)
WARNING_BORDER_LONG =**********************************************************************************\n
CTR_DRBG_128_BIT_KEY_WARN_L1=**** WARNING! MBEDTLS_CTR_DRBG_USE_128_BIT_KEY defined! ****\n
@@ -81,9 +75,6 @@ ifndef WINDOWS
-scripts/config.py get MBEDTLS_CTR_DRBG_USE_128_BIT_KEY && ([ $$? -eq 0 ]) && \
echo '$(CTR_DRBG_128_BIT_KEY_WARNING)'
- # If NULL Entropy is configured, display an appropriate warning
- -scripts/config.py get MBEDTLS_TEST_NULL_ENTROPY && ([ $$? -eq 0 ]) && \
- echo '$(NULL_ENTROPY_WARNING)'
endif
clean: