diff options
Diffstat (limited to 'src/security/tpm')
-rw-r--r-- | src/security/tpm/tss/tcg-2.0/tss_marshaling.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/security/tpm/tss/tcg-2.0/tss_marshaling.c b/src/security/tpm/tss/tcg-2.0/tss_marshaling.c index 86f2231c3f..94bfbcfb10 100644 --- a/src/security/tpm/tss/tcg-2.0/tss_marshaling.c +++ b/src/security/tpm/tss/tcg-2.0/tss_marshaling.c @@ -554,6 +554,9 @@ struct tpm2_response *tpm_unmarshal_response(TPM_CC command, struct ibuf *ib) command, ibuf_remaining(ib)); return NULL; } + if (rc) + printk(BIOS_WARNING, "Warning: %s had one or more failures.\n", + __func__); /* The entire message have been parsed. */ return tpm2_resp; |