MBEDTLS_DEPRECATED_WARNING now always emits a #warning
MBEDTLS_DEPRECATED_WARNING now always emits a #warning since this
branch as a whole is deprecated. So disable it from most builds.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
diff --git a/scripts/config.py b/scripts/config.py
index 6d4828a..d6d6c8b 100755
--- a/scripts/config.py
+++ b/scripts/config.py
@@ -166,6 +166,7 @@
if name in [
'MBEDTLS_CTR_DRBG_USE_128_BIT_KEY',
'MBEDTLS_DEPRECATED_REMOVED',
+ 'MBEDTLS_DEPRECATED_WARNING',
'MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED',
'MBEDTLS_ECP_RESTARTABLE',
'MBEDTLS_ENTROPY_FORCE_SHA256', # Variant toggle, tested separately