From 457351afbdc693265d16c0fb464d5f8a08f64f46 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Wed, 29 Apr 2020 15:44:00 +0200 Subject: [PATCH] Exclude DEPRECATED_WARNING in config full In the full config, don't set MBEDTLS_DEPRECATED_WARNING. This is debatable: the full config does not enable deprecated features in this branch, so MBEDTLS_DEPRECATED_WARNING is compatible with the other features. Exclude it to keep LTS branches closer to development. In any case, baremetal and full should have the same settings regarding deprecated features, so don't do anything about DEPRECATED_xxx in baremetal. Signed-off-by: Gilles Peskine --- scripts/config.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/config.pl b/scripts/config.pl index 208a02a3f..2f04d91a1 100755 --- a/scripts/config.pl +++ b/scripts/config.pl @@ -71,6 +71,7 @@ EOU my @excluded = qw( MBEDTLS_DEPRECATED_REMOVED +MBEDTLS_DEPRECATED_WARNING MBEDTLS_HAVE_SSE2 MBEDTLS_MEMORY_BACKTRACE MBEDTLS_MEMORY_BUFFER_ALLOC_C @@ -92,7 +93,6 @@ _ALT\s*$ # Things that should be disabled in "baremetal" my @excluded_baremetal = qw( -MBEDTLS_DEPRECATED_WARNING MBEDTLS_ENTROPY_NV_SEED MBEDTLS_FS_IO MBEDTLS_HAVEGE_C