]> git.ipfire.org Git - thirdparty/systemd.git/commit
tpm2: don't use GetCapability() to check transient handles 29427/head
authorDan Streetman <ddstreet@ieee.org>
Tue, 10 Oct 2023 20:55:39 +0000 (16:55 -0400)
committerDan Streetman <ddstreet@ieee.org>
Tue, 10 Oct 2023 20:55:39 +0000 (16:55 -0400)
commit9c18019787a767fb6ed5cb906b6ad52847ee34cd
tree5294b90882629e271f555d2e4271d223eb5b25df
parent1524184dd1cb9607ce3e4b9f278c9b231f639e38
tpm2: don't use GetCapability() to check transient handles

The kernel tpm "resource manager" interface doesn't report that any transient
handles exist, even if they do, so don't bother asking if the handle is
transient.
src/shared/tpm2-util.c