Also reject internal macros that weren't options in 3.6

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine
2025-12-23 13:50:23 +01:00
parent 30323afa6c
commit 1de879c6dd

View File

@@ -37,6 +37,9 @@ def checkers_for_removed_options() -> Iterator[Checker]:
yield CryptoInternal(option) yield CryptoInternal(option)
else: else:
yield Removed(option, 'Mbed TLS 4.0') yield Removed(option, 'Mbed TLS 4.0')
for option in (current.internal() - new_public - old_public -
crypto.options() - crypto.internal()):
yield Internal(option)
def all_checkers() -> Iterator[Checker]: def all_checkers() -> Iterator[Checker]:
"""Yield all checkers.""" """Yield all checkers."""