From 4185efafe4d4634e7ee1fb012ce1389f950c2fbf Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Wed, 7 Jan 2026 10:28:40 +0100 Subject: [PATCH] Fix non-determinism when generating mbedtls_config_check_user.h Signed-off-by: Gilles Peskine --- scripts/generate_config_checks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/generate_config_checks.py b/scripts/generate_config_checks.py index 0f55936c8c..ece67e6e75 100755 --- a/scripts/generate_config_checks.py +++ b/scripts/generate_config_checks.py @@ -37,8 +37,8 @@ def checkers_for_removed_options() -> Iterator[Checker]: yield CryptoInternal(option) else: yield Removed(option, 'Mbed TLS 4.0') - for option in (current.internal() - new_public - old_public - - crypto.options() - crypto.internal()): + for option in sorted(current.internal() - new_public - old_public - + crypto.options() - crypto.internal()): yield Internal(option) def all_checkers() -> Iterator[Checker]: