generate_test_cert_macros.py: fix --list-dependencies

Fix non-file elements appearing in
`generate_test_cert_macros.py --list-dependencies`. That only worked
because Mbed TLS didn't call it as intended (not done in `CMakeLists.txt`
or `make_generated_files.py`, and buggy in `tests/Makefile`).

Signed-off-by: Gilles Peskine <[email protected]>
This commit is contained in:
Gilles Peskine
2025-12-17 16:27:24 +01:00
parent 5ef7e74c53
commit 0e6a1b6463
+2 -1
View File
@@ -60,7 +60,8 @@ def main():
args = parser.parse_args()
if args.list_dependencies:
files_list = [arg[2] for arg in INPUT_ARGS]
files_list = [arg[2] for arg in INPUT_ARGS
if arg[0] != "password"]
print(" ".join(files_list))
return