Skip to content

Commit

Permalink
sbin/tpm2-evt-log-parser.awk: Fix reference to uninitialized element
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Żygowski <[email protected]>
  • Loading branch information
miczyg1 committed May 24, 2024
1 parent 2cda978 commit a07f5a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sbin/tpm2-evt-log-parser.awk
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ BEGIN {
ord_init()
SHA1_17 = ""
SHA1_18 = ""
SHA1_255 = ""
SHA256_17 = ""
SHA256_18 = ""
SHA256_255 = ""
}
{
# Header sanity checks
Expand Down
1 change: 1 addition & 0 deletions sbin/txt-tpm1-evt-log-parser.awk
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ BEGIN {
ord_init()
SHA1_17 = ""
SHA1_18 = ""
SHA1_255 = ""
}
{
# TCG header is not present on Intel systems, so do nothing if it's not
Expand Down

0 comments on commit a07f5a6

Please sign in to comment.