]> xenbits.xensource.com Git - seabios.git/commit
tpm: Don't call tpm_set_failure() from tpm_log_extend_event()
authorKevin O'Connor <kevin@koconnor.net>
Wed, 30 Dec 2015 05:48:57 +0000 (00:48 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Tue, 5 Jan 2016 20:05:14 +0000 (15:05 -0500)
commit5ffcb2c32b3decc463890c5a2355c410b3fca80a
tree8ef47b1450a86685218c87ea1564cfe98ed9bd1d
parented8d55d87b395c147cfe4689f536ebf6760c2a45
tpm: Don't call tpm_set_failure() from tpm_log_extend_event()

The 16bit BIOS interface shouldn't be able to shutdown the TPM.  Move
the check for tpm_is_working() and tpm_set_failure() to the only
caller of tpm_log_extend_event() that may shutdown the TPM.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/tcgbios.c