mirror of
https://github.com/stefanberger/libtpms
synced 2026-08-09 21:28:16 +00:00
tpm12: Use latests tpm_delegate fixing code format
Signed-off-by: Stefan Berger <stefanb@linxu.vnet.ibm.com>
This commit is contained in:
parent
c5ec1eaee0
commit
4ea0a044ca
@ -142,7 +142,7 @@ TPM_RESULT TPM_DelegatePublic_Store(TPM_STORE_BUFFER *sbuffer,
|
||||
}
|
||||
/* store pcrInfo */
|
||||
if (rc == 0) {
|
||||
rc =TPM_PCRInfoShort_Store(sbuffer, &(tpm_delegate_public->pcrInfo), FALSE);
|
||||
rc = TPM_PCRInfoShort_Store(sbuffer, &(tpm_delegate_public->pcrInfo), FALSE);
|
||||
}
|
||||
/* store permissions */
|
||||
if (rc == 0) {
|
||||
@ -1528,11 +1528,11 @@ TPM_RESULT TPM_DelegateTableRow_Store(TPM_STORE_BUFFER *sbuffer,
|
||||
}
|
||||
/* store pub */
|
||||
if (rc == 0) {
|
||||
rc =TPM_DelegatePublic_Store(sbuffer, &(tpm_delegate_table_row->pub));
|
||||
rc = TPM_DelegatePublic_Store(sbuffer, &(tpm_delegate_table_row->pub));
|
||||
}
|
||||
/* store authValue */
|
||||
if (rc == 0) {
|
||||
rc =TPM_Secret_Store(sbuffer, tpm_delegate_table_row->authValue);
|
||||
rc = TPM_Secret_Store(sbuffer, tpm_delegate_table_row->authValue);
|
||||
}
|
||||
/* store valid */
|
||||
if (rc == 0) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user