]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tpm2-util: fix typo
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 20 Jul 2026 06:01:28 +0000 (15:01 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 20 Jul 2026 07:23:04 +0000 (16:23 +0900)
Follow-up for 2348941b5dab8b5851553a5271c0dbe7c7ad838a.

src/shared/tpm2-util.c

index 2b24b42a0f38123fd300db328e0bd4552a7eda20..d0758efdc99a78ca08eb359650c9cda330c9dd8c 100644 (file)
@@ -5031,7 +5031,7 @@ static void tpm2_make_policy_ref(const char *policy_ref, TPM2B_NONCE *ret_policy
          * As we don't know what the maximum digest size supported by the TPM is when publishing a
          * signed policy, we pick SHA256 which is universally supported on PC-Client devices. Ideally the
          * algorithm ID would be prepended to the digest, but we don't know if the TPM2B_NONCE type can
-         * accomodate this. For this reason, the digest algorithm here should match the one used to create
+         * accommodate this. For this reason, the digest algorithm here should match the one used to create
          * the approved digest for the corresponding policy, which is always SHA256 at the moment.
          *
          * Note that we return a policy ref size of 0 if no string is supplied in order to maintain