-
Notifications
You must be signed in to change notification settings - Fork 378
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools: Fix save and load for TPM2B_PRIVATE
The tpm2_create tools is only storing the TPM2B_PRIVATE .buffer field but not it's .size field. This causes the private keys stored with the stable version of the tools, to fail loading when using the latest master branch. Fix this by storing the whole TPM2B_PRIVATE object, including size field. Fixes: #976 Signed-off-by: William Roberts <william.c.roberts@intel.com>
- Loading branch information
1 parent
b0c6f5b
commit bd5cbb1
Showing
4 changed files
with
27 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters