diff options
author | Lennart Poettering <lennart@poettering.net> | 2024-02-19 16:37:36 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2024-02-20 16:50:00 +0100 |
commit | 05569104bd579228d4c48faf78c231bb654f2ede (patch) | |
tree | b316767211b67561673933fce2c20a35af8f7a8d /src/cryptenroll/cryptenroll-tpm2.c | |
parent | ask-password: rework how we pass request meta info when asking passwords (diff) | |
download | systemd-05569104bd579228d4c48faf78c231bb654f2ede.tar.xz systemd-05569104bd579228d4c48faf78c231bb654f2ede.zip |
cryptenroll: fix type confusion on acquire_tpm2_key() parameter
Diffstat (limited to '')
-rw-r--r-- | src/cryptenroll/cryptenroll-tpm2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptenroll/cryptenroll-tpm2.c b/src/cryptenroll/cryptenroll-tpm2.c index def3acda69..e5e0cd6529 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"); |