mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-06-05 21:15:09 +00:00
Make the script work in both branches
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
This commit is contained in:
@@ -367,9 +367,15 @@ class LicenseIssueTracker(LineIssueTracker):
|
||||
|
||||
heading = "License issue:"
|
||||
|
||||
LICENSE_EXEMPTION_RE_LIST = [
|
||||
# Exempt third-party drivers which may be under a different license
|
||||
r'tf-psa-crypto/drivers/(?=(everest)/.*)',
|
||||
LICENSE_EXEMPTION_RE_LIST = []
|
||||
|
||||
# Exempt third-party drivers which may be under a different license
|
||||
if build_tree.is_mbedtls_3_6():
|
||||
LICENSE_EXEMPTION_RE_LIST.append(r'3rdparty/(?!(p256-m)/.*)')
|
||||
else:
|
||||
LICENSE_EXEMPTION_RE_LIST.append(r'tf-psa-crypto/drivers/(?=(everest)/.*)')
|
||||
|
||||
LICENSE_EXEMPTION_RE_LIST += [
|
||||
# Documentation explaining the license may have accidental
|
||||
# false positives.
|
||||
r'(ChangeLog|LICENSE|framework\/LICENSE|[-0-9A-Z_a-z]+\.md)\Z',
|
||||
|
||||
Reference in New Issue
Block a user