commit | 6d1a7abbfc3fdbfd4ddf683416318b2fb8d109b2 | [log] [tgz] |
---|---|---|
author | Stefan Berger <stefanb@linux.ibm.com> | Fri Nov 19 17:35:33 2021 -0500 |
committer | Stefan Berger <stefanb@us.ibm.com> | Mon Nov 22 07:39:28 2021 -0500 |
tree | 936b35ed3b637ee78c1a4ed1b2cc096e73800741 | |
parent | 3115dff02f8fb75dddd1a7375eb5515dc24f56b8 [diff] |
swtpm: Implement function reporting error when choosing unsupported TPM Implement tpmlib_choose_tpm_version() that reports an error when an un- supported version is chosen. Have it used by existing code where possible. If TPM 1.2 is not supported by libtpms, the following message is now displayed: swtpm: Error: TPM 1.2 is not supported by libtpms. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2024583 Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>