Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preserve error logic in getPrimaryKeyHandle (#296)
In `wrappedTPM20.getPrimaryKeyHandle()`, preserve any error from the short-circuit `tpm2.ReadPublic()` logic, so that we can return it alongside any failure in `tpm2.CreatePrimary()` Co-authored-by: Justin King-Lacroix <justinkl@google.com>
- Loading branch information