diff --git a/src/shared/creds-util.c b/src/shared/creds-util.c index 02d86207c2..ecf90e2084 100644 --- a/src/shared/creds-util.c +++ b/src/shared/creds-util.c @@ -990,8 +990,9 @@ int decrypt_credential_and_warn( r = tpm2_unseal(tpm2_device, le64toh(t->pcr_mask), le16toh(t->pcr_bank), - z ? z->data : NULL, z ? le32toh(z->size) : 0, - le64toh(z->pcr_mask), + z ? z->data : NULL, + z ? le32toh(z->size) : 0, + z ? le64toh(z->pcr_mask) : 0, signature_json, /* pin= */ NULL, le16toh(t->primary_alg),