diff options
author | Claudio Carvalho <cclaudio@linux.vnet.ibm.com> | 2016-11-01 20:40:27 -0200 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-11-02 17:15:59 +1100 |
commit | 635537dba33dfb78f4383d9271d52def17b31a95 (patch) | |
tree | 1959d00f74fbcb689469df2e0ae70840d4602823 /libstb/status_codes.h | |
parent | ddfc16d1275e7a2354913b3b3c2df6f0aa9f31ee (diff) | |
download | talos-skiboot-635537dba33dfb78f4383d9271d52def17b31a95.tar.gz talos-skiboot-635537dba33dfb78f4383d9271d52def17b31a95.zip |
tpm_extendl: don't measure when no tpm is registered
This fixes tpm_extendl() to measure only when the list of
registered tpms is not empty.
Fixes: 3837c6f0cf4cffb5de874413eed755c0c698b076
Signed-off-by: Claudio Carvalho <cclaudio@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libstb/status_codes.h')
-rw-r--r-- | libstb/status_codes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libstb/status_codes.h b/libstb/status_codes.h index e67c17ba..48961322 100644 --- a/libstb/status_codes.h +++ b/libstb/status_codes.h @@ -31,6 +31,7 @@ #define STB_MEASURE_FAILED -200 /* TPM */ +#define STB_NO_TPM_INITIALIZED 300 #define STB_TPM_OVERFLOW -300 #define STB_TPM_TIMEOUT -301 |