]> git.ipfire.org Git - thirdparty/systemd.git/commit
tpm2-util: dont't find best PCR bank if no PCRs are selected whatsoever
authorLennart Poettering <lennart@poettering.net>
Tue, 24 Oct 2023 20:19:48 +0000 (22:19 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 25 Oct 2023 07:29:20 +0000 (09:29 +0200)
commit3ee5e9d5f3eff01f35b12d4bd4133720f05594fb
tree7d0da760038de7188af658abf209b94cb3875d5b
parentadabcbabffbfc1f96a5e170f4a1cdc357ea15285
tpm2-util: dont't find best PCR bank if no PCRs are selected whatsoever

This will otherwise just yield weird log message, complaining that PCRs
were not initialized. But which PCRs if we have none selected?
src/shared/tpm2-util.c