Correct AuthHandle definition for Tpm2SetPrimaryPolicy.
authorYao, Jiewen <jiewen.yao@intel.com>
Tue, 23 Dec 2014 04:06:52 +0000 (04:06 +0000)
committerjyao1 <jyao1@Edk2>
Tue, 23 Dec 2014 04:06:52 +0000 (04:06 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com>
Reviewed-by: "Long, Qin" <qin.long@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16549 6f19259b-4bc3-4df7-8a09-765794883524

SecurityPkg/Library/Tpm2CommandLib/Tpm2Hierarchy.c

index 1c33c2d..11f1229 100644 (file)
@@ -23,7 +23,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 typedef struct {\r
   TPM2_COMMAND_HEADER       Header;\r
-  TPMI_RH_HIERARCHY         AuthHandle;\r
+  TPMI_RH_HIERARCHY_AUTH    AuthHandle;\r
   UINT32                    AuthSessionSize;\r
   TPMS_AUTH_COMMAND         AuthSession;\r
   TPM2B_DIGEST              AuthPolicy;\r