]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
creds-util: correct argument comment
authorJelle van der Waa <jvanderwaa@redhat.com>
Wed, 21 May 2025 18:19:12 +0000 (20:19 +0200)
committerJelle van der Waa <jvanderwaa@redhat.com>
Sat, 24 May 2025 15:13:39 +0000 (17:13 +0200)
src/shared/creds-util.c

index 55aeace37694545adb1b5715d52537a568d8898c..93bf121ccff2919813956149bad0520e8162c068 100644 (file)
@@ -972,7 +972,7 @@ int encrypt_credential_and_warn(
                 r = tpm2_seal(tpm2_context,
                               /* seal_key_handle= */ 0,
                               &tpm2_policy,
-                              /* n_policy_hash= */ 1,
+                              /* n_policy= */ 1,
                               /* pin= */ NULL,
                               &tpm2_key,
                               &blobs,