mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-04 05:03:04 +00:00
tpm: Don't require uefi capsule updates for checking TPM PCR0
There isn't any reason that we need to have a system advertising a GUID with `main-system-firmware` in order to check that PCR0 reconstruction matches what the TPM actually has. Fixes: #4961
This commit is contained in:
parent
7f930a41dc
commit
1f7526cce1
@ -159,7 +159,7 @@ fu_plugin_tpm_add_security_attr_eventlog(FuPlugin *plugin, FuSecurityAttrs *attr
|
||||
fu_security_attrs_append(attrs, attr);
|
||||
|
||||
/* check reconstructed to PCR0 */
|
||||
if (priv->ev_items == NULL || priv->bios_device == NULL) {
|
||||
if (priv->ev_items == NULL) {
|
||||
fwupd_security_attr_set_result(attr, FWUPD_SECURITY_ATTR_RESULT_NOT_FOUND);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user