diff options
author | Zhichao Gao <zhichao.gao@intel.com> | 2019-12-16 09:18:55 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-02-07 07:22:11 +0000 |
commit | 01712e65089297581036f17c0dca2801f4b694b3 (patch) | |
tree | 8d78ccd1c64aa33784818af3b3a4d502eddd76e1 /BaseTools/Source/Python/Common/BuildToolError.py | |
parent | c6a6193d122a9cb0d11373b8fa43ce95724271f7 (diff) | |
download | edk2-01712e65089297581036f17c0dca2801f4b694b3.tar.gz edk2-01712e65089297581036f17c0dca2801f4b694b3.tar.bz2 edk2-01712e65089297581036f17c0dca2801f4b694b3.zip |
SecurityPkg/TcgPhysicalPresenceLib: Replace the ASSERT with error code
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2472
Replace the ASSERT with the error code return in the TpmPhysicalPresence
and GetTpmCapability.
Add missing error checking after call TpmPhysicalPresence in
TcgPhysicalPresenceLibProcessRequest.
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/BuildToolError.py')
0 files changed, 0 insertions, 0 deletions