mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-14 01:26:49 +00:00
generate_test_keys: sort keys before processing them
Without this fix keys could be listed differently on Ubuntu 16 between different runs therefore causing check_generated_files() to fail. Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
feb87a9dfc
commit
42efdd83ff
@ -112,6 +112,7 @@ def main() -> None:
|
||||
# (key type, key bits) pair. We know that ASYMMETRIC_KEY_DATA
|
||||
# contains also the public counterpart.
|
||||
priv_keys = [key for key in ASYMMETRIC_KEY_DATA if '_KEY_PAIR' in key]
|
||||
priv_keys = sorted(priv_keys)
|
||||
|
||||
for priv_key in priv_keys:
|
||||
key_type = get_key_type(priv_key)
|
||||
|
Loading…
x
Reference in New Issue
Block a user