From: Lennart Poettering Date: Mon, 19 Feb 2024 15:37:36 +0000 (+0100) Subject: cryptenroll: fix type confusion on acquire_tpm2_key() parameter X-Git-Tag: v256-rc1~797^2~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=05569104bd579228d4c48faf78c231bb654f2ede;p=thirdparty%2Fsystemd.git cryptenroll: fix type confusion on acquire_tpm2_key() parameter --- diff --git a/src/cryptenroll/cryptenroll-tpm2.c b/src/cryptenroll/cryptenroll-tpm2.c index def3acda69b..e5e0cd65294 100644 --- a/src/cryptenroll/cryptenroll-tpm2.c +++ b/src/cryptenroll/cryptenroll-tpm2.c @@ -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");