diff --git a/tests/scripts/check_files.py b/tests/scripts/check_files.py index 2a5d64b79f..8c7c2a62b6 100755 --- a/tests/scripts/check_files.py +++ b/tests/scripts/check_files.py @@ -370,7 +370,7 @@ class LicenseIssueTracker(LineIssueTracker): LICENSE_EXEMPTION_RE_LIST = [ # Third-party code, other than whitelisted third-party modules, # may be under a different license. - r'3rdparty/(?!(p256-m)/.*)', + r'tf-psa-crypto/drivers/(?!(builtin|p256-m)/.*)', # Documentation explaining the license may have accidental # false positives. r'(ChangeLog|LICENSE|framework\/LICENSE|[-0-9A-Z_a-z]+\.md)\Z',