From f7e1f6ff1d65f5bddc3ab9904fd498d4829578cd Mon Sep 17 00:00:00 2001 From: Elena Uziunaite Date: Fri, 1 Nov 2024 13:59:40 +0000 Subject: [PATCH] Edit function calls Signed-off-by: Elena Uziunaite --- scripts/generate_config_tests.py | 2 +- scripts/generate_pkcs7_tests.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/generate_config_tests.py b/scripts/generate_config_tests.py index e29910add..7d6b3c976 100755 --- a/scripts/generate_config_tests.py +++ b/scripts/generate_config_tests.py @@ -88,7 +88,7 @@ def dependencies_of_setting(cfg: config_common.Config, return 'MBEDTLS_CIPHER_C:MBEDTLS_CIPHER_MODE_CBC' if name.startswith('MBEDTLS_PK_PARSE_EC_'): return 'MBEDTLS_PK_C:' + test_case.psa_or_3_6_feature_macro( - 'PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY', '') + 'PSA_KEY_TYPE_ECC_PUBLIC_KEY', test_case.Domain_3_6.USE_PSA) # For TLS settings, insist on having them once off and once on in # a configuration where both client support and server support are diff --git a/scripts/generate_pkcs7_tests.py b/scripts/generate_pkcs7_tests.py index 6e6fd987d..629b3a8c6 100755 --- a/scripts/generate_pkcs7_tests.py +++ b/scripts/generate_pkcs7_tests.py @@ -38,7 +38,7 @@ class TestData: Take in test_suite_pkcs7.data file. Allow for new tests to be added. """ - mandatory_dep = test_case.psa_or_3_6_feature_macro("PSA_ALG_SHA_256", "") + mandatory_dep = test_case.psa_or_3_6_feature_macro("PSA_ALG_SHA_256", test_case.Domain_3_6.USE_PSA) test_name = "PKCS7 Parse Failure Invalid ASN1" test_function = "pkcs7_asn1_fail:"