diff options
author | Michael Kinney <michael.d.kinney@intel.com> | 2017-01-10 08:46:20 -0800 |
---|---|---|
committer | Michael Kinney <michael.d.kinney@intel.com> | 2017-01-25 14:18:30 -0800 |
commit | 8b17ad862c235b3226c3d118e5b2f929860ef7ec (patch) | |
tree | af20f4012c720e514c26a8c561fd4e6b988b29f8 /BaseTools/Source/Python/Table/TableInf.py | |
parent | 2bdfb11df9ca0ea0a136e39baac3548b295732b9 (diff) | |
download | edk2-8b17ad862c235b3226c3d118e5b2f929860ef7ec.tar.gz edk2-8b17ad862c235b3226c3d118e5b2f929860ef7ec.tar.bz2 edk2-8b17ad862c235b3226c3d118e5b2f929860ef7ec.zip |
SecurityPkg/Tpm12CommandLib: Always check response returnCode
https://bugzilla.tianocore.org/show_bug.cgi?id=338
Update the Tpm12CommandLib to consistently check the returnCode
field of a response packet. These checks are missing from the
GetCapability and SelfTest commands. The functions
Tpm12ContinueSelfTest(), Tpm12GetCapabilityFlagPermanent(), and
Tpm12GetCapabilityFlagVolatile() are updated to verify that the
response returnCode is not an error.
Cc: Chao Zhang <chao.b.zhang@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Table/TableInf.py')
0 files changed, 0 insertions, 0 deletions