More robust dependency filtering
Only remove the MBEDTLS_HAVE_INTnn dependency, not any other dependency that might be present. No behavior change, this is just robustness. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
f287366376
commit
5efe449a6a
1 changed files with 3 additions and 1 deletions
|
@ -149,7 +149,9 @@ class BignumModRawConvertRep(bignum_common.ModOperationCommon,
|
|||
# representations, emit a single test case with no dependency
|
||||
# on the limb size.
|
||||
if rep is not bignum_common.ModulusRepresentation.MONTGOMERY:
|
||||
test_object.dependencies = []
|
||||
test_object.dependencies = \
|
||||
[dep for dep in test_object.dependencies
|
||||
if not dep.startswith('MBEDTLS_HAVE_INT')]
|
||||
if test_object.is_valid:
|
||||
yield test_object.create_test_case()
|
||||
if rep is not bignum_common.ModulusRepresentation.MONTGOMERY:
|
||||
|
|
Loading…
Reference in a new issue