]> git.proxmox.com Git - mirror_edk2.git/commitdiff
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 1c33c2de2a2079520d36f529381a572d844a928d..11f12294346766a27924d2bc6fdf56b3448d5211 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
 \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
   UINT32                    AuthSessionSize;\r
   TPMS_AUTH_COMMAND         AuthSession;\r
   TPM2B_DIGEST              AuthPolicy;\r