Fix non-determinism when generating mbedtls_config_check_user.h

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine
2026-01-07 10:28:40 +01:00
parent 64ab9a287e
commit 4185efafe4

View File

@@ -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]: