From 9093fb92d56efa02ab47ddddeb4068855d0632bd Mon Sep 17 00:00:00 2001 From: "Yao, Jiewen" Date: Tue, 23 Dec 2014 04:06:52 +0000 Subject: [PATCH] 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 --- SecurityPkg/Library/Tpm2CommandLib/Tpm2Hierarchy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2