mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-08-12 06:07:46 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user