diff options
Diffstat (limited to 'util/tpm_hash_gen.py')
-rwxr-xr-x | util/tpm_hash_gen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/tpm_hash_gen.py b/util/tpm_hash_gen.py index c741c88ade..5d2cc36828 100755 --- a/util/tpm_hash_gen.py +++ b/util/tpm_hash_gen.py @@ -47,7 +47,7 @@ def get_git_versions(cr50_file): MyError: if consistent version string was not found in the file. """ - git_vers_regexp = re.compile(b'cr50_v[12].* tpm2.* 20[12][0-9]') + git_vers_regexp = re.compile(b'cr50_v[1-4].* tpm2.* 20[12][0-9]') text = open(cr50_file, 'rb').read() strings = git_vers_regexp.findall(text) hashes = [] |