Edit function calls

Signed-off-by: Elena Uziunaite <[email protected]>
This commit is contained in:
Elena Uziunaite
2024-11-01 13:59:40 +00:00
parent cb855d780c
commit f7e1f6ff1d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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:"