mirror of
https://github.com/stefanberger/libtpms
synced 2026-01-20 11:45:32 +00:00
tpm2: Assign TPM_ALG_ERROR to hashAlg rather than direct return
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
parent
c9bc79eaa5
commit
25a9338eb4
@ -344,7 +344,7 @@ EntityGetAuthPolicy(
|
||||
hashAlg = gp.lockoutAlg;
|
||||
break;
|
||||
default:
|
||||
return TPM_ALG_ERROR;
|
||||
hashAlg = TPM_ALG_ERROR;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user