summaryrefslogtreecommitdiff
path: root/src/security/tpm/tspi/log-tpm2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/security/tpm/tspi/log-tpm2.c')
-rw-r--r--src/security/tpm/tspi/log-tpm2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/security/tpm/tspi/log-tpm2.c b/src/security/tpm/tspi/log-tpm2.c
index c7bbc9e42b..56799a7e94 100644
--- a/src/security/tpm/tspi/log-tpm2.c
+++ b/src/security/tpm/tspi/log-tpm2.c
@@ -45,7 +45,7 @@ void *tpm2_log_cbmem_init(void)
if (tclt)
return tclt;
- if (cbmem_possibly_online()) {
+ if (ENV_HAS_CBMEM) {
size_t tpm_log_len;
struct tcg_efi_spec_id_event *hdr;