]> git.proxmox.com Git - mirror_edk2.git/commit - SecurityPkg/Tcg/TdTcg2Dxe/TdTcg2Dxe.c
OvmfPkg/TdTcg2Dxe: Fix incorrect protocol and structure version
authorMin M Xu <min.m.xu@intel.com>
Wed, 14 Dec 2022 07:14:17 +0000 (15:14 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 15 Dec 2022 03:07:33 +0000 (03:07 +0000)
commit19f7c63ea978c5a4ef9345b9bf4995dcd48fa328
tree761bb5511627843082a274191be3c3121b2f3f6d
parent44fc90eb0ea7299abc79577db55aa6257b46b7ae
OvmfPkg/TdTcg2Dxe: Fix incorrect protocol and structure version

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4184

According to the Uefi spec 2.10 Section 38.2.2.
EFI_CC_MEASUREMENT_PROTOCOL.GetCapability, the minor version of
StructureVersion and ProtocolVersion should be 0.

Cc: Erdem Aktas <erdemaktas@google.com> [ruleof2]
Cc: James Bottomley <jejb@linux.ibm.com> [jejb]
Cc: Jiewen Yao <jiewen.yao@intel.com> [jyao1]
Cc: Tom Lendacky <thomas.lendacky@amd.com> [tlendacky]
Cc: Arti Gupta <ARGU@microsoft.com>
Reported-by: Arti Gupta <ARGU@microsoft.com>
Signed-off-by: Min Xu <min.m.xu@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
OvmfPkg/IntelTdx/TdTcg2Dxe/TdTcg2Dxe.c