mirror of
https://github.com/stefanberger/libtpms
synced 2026-08-12 09:24:37 +00:00
rev180: Replace handle with HierarchyNormalizeHandle(handle)
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
parent
44f0cb0535
commit
f9e52bd044
@ -240,7 +240,7 @@ EntityGetAuthValue(TPMI_DH_ENTITY handle, // IN: handle of entity
|
||||
{
|
||||
case TPM_HT_PERMANENT:
|
||||
{
|
||||
switch(handle)
|
||||
switch(HierarchyNormalizeHandle(handle))
|
||||
{
|
||||
case TPM_RH_OWNER:
|
||||
// ownerAuth for TPM_RH_OWNER
|
||||
@ -347,7 +347,7 @@ EntityGetAuthPolicy(TPMI_DH_ENTITY handle, // IN: handle of entity
|
||||
switch(HandleGetType(handle))
|
||||
{
|
||||
case TPM_HT_PERMANENT:
|
||||
switch(handle)
|
||||
switch(HierarchyNormalizeHandle(handle))
|
||||
{
|
||||
case TPM_RH_OWNER:
|
||||
// ownerPolicy for TPM_RH_OWNER
|
||||
|
||||
Loading…
Reference in New Issue
Block a user