projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71611f2
)
cpio: don't claim we measured anything if we weren't even asked
author
Lennart Poettering
<lennart@poettering.net>
Thu, 25 Aug 2022 16:08:49 +0000
(18:08 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 26 Aug 2022 11:08:32 +0000
(13:08 +0200)
This is a bugfix.
Follow-up for
599fe002a135570406504998dbb7a42dabc963da
src/boot/efi/cpio.c
patch
|
blob
|
history
diff --git
a/src/boot/efi/cpio.c
b/src/boot/efi/cpio.c
index cec901d0c3ee7e1987afc25abbb13377c6581090..9ffa935e0f63cbbaab22536505e009cd88e04c6b 100644
(file)
--- a/
src/boot/efi/cpio.c
+++ b/
src/boot/efi/cpio.c
@@
-488,7
+488,7
@@
nothing:
*ret_buffer_size = 0;
if (ret_measured)
- *ret_measured =
true
;
+ *ret_measured =
n_tpm_pcr > 0
;
return EFI_SUCCESS;
}