Make TPM errors less fatal
Handle TPM errors, and stop trying to use the TPM once we hit one.
This commit is contained in:
parent
5962f7d5e7
commit
bf25cda14e
11 changed files with 29 additions and 4 deletions
|
@ -128,6 +128,7 @@ grub_multiboot_load (grub_file_t file, const char *filename)
|
|||
COMPILE_TIME_ASSERT (MULTIBOOT_HEADER_ALIGN % 4 == 0);
|
||||
|
||||
grub_tpm_measure ((unsigned char *)buffer, len, GRUB_BINARY_PCR, "grub_multiboot", filename);
|
||||
grub_print_error();
|
||||
|
||||
header = find_header (buffer, len);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue