cpio: don't claim we measured anything if we weren't even asked
This is a bugfix.
Follow-up for 599fe002a1
This commit is contained in:
+1
-1
@@ -488,7 +488,7 @@ nothing:
|
||||
*ret_buffer_size = 0;
|
||||
|
||||
if (ret_measured)
|
||||
*ret_measured = true;
|
||||
*ret_measured = n_tpm_pcr > 0;
|
||||
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user