]> git.proxmox.com Git - mirror_edk2.git/commit
SecurityPkg: Fix Tcg2 SubmitRequestToPreOSFunction() fail in second times.
authorJiewen Yao <jiewen.yao@intel.com>
Thu, 10 Mar 2016 05:44:40 +0000 (21:44 -0800)
committerHao Wu <hao.a.wu@intel.com>
Fri, 11 Mar 2016 04:51:19 +0000 (12:51 +0800)
commit6d7c4a25b7b019cc2080d5cf1a6fd11347465d65
tree337e74272f27d1166d05d044de3ce0ca63267478
parent3a0f8bdef348a3afca72217d319bb1a8d8b1036a
SecurityPkg: Fix Tcg2 SubmitRequestToPreOSFunction() fail in second times.

Tcg2PhysicalPresenceLibSubmitRequestToPreOSFunction()
has check if current request is same as previous.
But it forget check RequestParameter, which causes
second request fail to process, if RequestParameter
is different.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <Jiewen.Yao@intel.com>
Reviewed-by: "Zhang, Chao B" <chao.b.zhang@intel.com>
SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.c
SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.c