boot: report missing GetActivePcrBanks() call in formware as UINT32_MAX PCR bank mask
Fixes: #39150
This commit is contained in:
+2
-2
@@ -198,8 +198,8 @@ uint32_t tpm_get_active_pcr_banks(void) {
|
||||
|
||||
/* GetActivePcrBanks() was added only in version 1.1 of the spec */
|
||||
if (version.Major < 1 || (version.Major == 1 && version.Minor < 1)) {
|
||||
log_debug("TCG protocol too old for GetActivePcrBanks(), claiming no active banks.");
|
||||
return 0;
|
||||
log_debug("TCG protocol too old for GetActivePcrBanks(), returning wildcard bank information.");
|
||||
return UINT32_MAX;
|
||||
}
|
||||
|
||||
uint32_t active_pcr_banks = 0;
|
||||
|
||||
Reference in New Issue
Block a user