summaryrefslogtreecommitdiffstats
path: root/EmulatorPkg/Include
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2023-04-27 00:24:04 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-05-02 15:43:32 +0000
commit832fbc6e32012fe29f1a6c67ddc90facb43ebeee (patch)
tree8e8d9824b1452fa5ff362e438ec03f0399bbda63 /EmulatorPkg/Include
parent23c71536efbebed57942947668f470f934324477 (diff)
downloadedk2-832fbc6e32012fe29f1a6c67ddc90facb43ebeee.tar.gz
edk2-832fbc6e32012fe29f1a6c67ddc90facb43ebeee.tar.bz2
edk2-832fbc6e32012fe29f1a6c67ddc90facb43ebeee.zip
SecurityPkg: add TIS sanity check (tpm2)
The code blindly assumes a TIS interface is present in case both CRB and FIFO checks fail. Check the InterfaceType for TIS instead and only return Tpm2PtpInterfaceTis in case it matches, Tpm2PtpInterfaceMax otherwise. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'EmulatorPkg/Include')
0 files changed, 0 insertions, 0 deletions