commit | d468d595a43ab91c00e064e06683f4c75f52a88e | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Wed Aug 10 16:23:02 2016 -0400 |
committer | Kevin O'Connor <kevin@koconnor.net> | Sun Nov 27 15:04:48 2016 -0500 |
tree | 3e6c2d6233fa34fbd788845ae4f30ecb56da8f9f | |
parent | 2f975709df602f0fb940355bea0853243fb8c08b [diff] |
tpm: Don't call tpm_set_failure() from tpm12_get_capability() In the event of a failure in the low-level tpm12_get_capability() code, just return an error code. The caller can shutdown the TPM if needed - the only place where that is needed is during a failure in tpm12_determine_timeouts(). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>