Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix argument parsing in tpm2_policylocality
This patch fixes a bug that caused tpm2_policylocality to almost always generate PolicyLocality(0). There was a logical inversion that caused almost any argument (including invalid ones) to be interpreted as zero, except "zero" would be interpreted as one. Signed-off-by: Tien-Ren Chen <[email protected]>
- Loading branch information