diff options
author | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2016-01-07 12:02:46 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2016-01-07 12:13:07 -0500 |
commit | 2b237501077d9dcdb9c9ba8cd7aaabdd4a531e80 (patch) | |
tree | 46f798726a67b23255b6fe8e04a8aeed8f919383 | |
parent | 3c577a7644c6c91be70ffd59c121b5d19d381e5f (diff) | |
download | seabios-hppa-2b237501077d9dcdb9c9ba8cd7aaabdd4a531e80.zip seabios-hppa-2b237501077d9dcdb9c9ba8cd7aaabdd4a531e80.tar.gz seabios-hppa-2b237501077d9dcdb9c9ba8cd7aaabdd4a531e80.tar.bz2 |
tpm: Copy digest into HashLogExentEvent response
Copy the digest into the response of a HashLogExtendEvent API call.
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
-rw-r--r-- | src/tcgbios.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tcgbios.c b/src/tcgbios.c index 1a247df..8716600 100644 --- a/src/tcgbios.c +++ b/src/tcgbios.c @@ -660,6 +660,7 @@ hash_log_extend_event_int(const struct hleei_short *hleei_s, hleeo->opblength = sizeof(struct hleeo); hleeo->reserved = 0; hleeo->eventnumber = hleo.eventnumber; + memcpy(hleeo->digest, pcpes->digest, sizeof(hleeo->digest)); err_exit: if (rc != 0) { |