cryptenroll: fix type confusion on acquire_tpm2_key() parameter

This commit is contained in:
Lennart Poettering 2024-02-19 16:37:36 +01:00
parent d08fd4c314
commit 05569104bd

View file

@ -211,7 +211,7 @@ int load_volume_key_tpm2(
tpm2_flags,
/* until= */ 0,
/* headless= */ false,
/* ask_password_flags */ false,
/* ask_password_flags= */ 0,
&decrypted_key);
if (IN_SET(r, -EACCES, -ENOLCK))
return log_notice_errno(SYNTHETIC_ERRNO(EAGAIN), "TPM2 PIN unlock failed");