summaryrefslogtreecommitdiffstats
path: root/src/creds
diff options
context:
space:
mode:
Diffstat (limited to 'src/creds')
-rw-r--r--src/creds/creds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/creds/creds.c b/src/creds/creds.c
index 36531d7d18..57f4aa6809 100644
--- a/src/creds/creds.c
+++ b/src/creds/creds.c
@@ -930,7 +930,7 @@ static int parse_argv(int argc, char *argv[]) {
if (arg_tpm2_pcr_mask == UINT32_MAX)
arg_tpm2_pcr_mask = TPM2_PCR_MASK_DEFAULT;
if (arg_tpm2_public_key_pcr_mask == UINT32_MAX)
- arg_tpm2_public_key_pcr_mask = UINT32_C(1) << TPM_PCR_INDEX_KERNEL_IMAGE;
+ arg_tpm2_public_key_pcr_mask = UINT32_C(1) << TPM2_PCR_KERNEL_BOOT;
return 1;
}