From: Yao, Jiewen Date: Tue, 23 Dec 2014 04:06:52 +0000 (+0000) Subject: Correct AuthHandle definition for Tpm2SetPrimaryPolicy. X-Git-Tag: edk2-stable201903~10508 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=9093fb92d56efa02ab47ddddeb4068855d0632bd Correct AuthHandle definition for Tpm2SetPrimaryPolicy. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen" Reviewed-by: "Long, Qin" git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16549 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/SecurityPkg/Library/Tpm2CommandLib/Tpm2Hierarchy.c b/SecurityPkg/Library/Tpm2CommandLib/Tpm2Hierarchy.c index 1c33c2de2a..11f1229434 100644 --- a/SecurityPkg/Library/Tpm2CommandLib/Tpm2Hierarchy.c +++ b/SecurityPkg/Library/Tpm2CommandLib/Tpm2Hierarchy.c @@ -23,7 +23,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. typedef struct { TPM2_COMMAND_HEADER Header; - TPMI_RH_HIERARCHY AuthHandle; + TPMI_RH_HIERARCHY_AUTH AuthHandle; UINT32 AuthSessionSize; TPMS_AUTH_COMMAND AuthSession; TPM2B_DIGEST AuthPolicy;