diff options
author | Anssi Hannula <anssi.hannula@bitwise.fi> | 2021-09-09 14:58:13 +0300 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2021-09-09 17:54:41 +0100 |
commit | dfba45185ce1db10aaf0a16a56d063253ca1c84a (patch) | |
tree | 7e18f03416282595bc1825d0fd121db656e48f6c | |
parent | 8fd4d27f3c59c41e453f3b5eb8f80ae38073a285 (diff) | |
download | systemd-dfba45185ce1db10aaf0a16a56d063253ca1c84a.tar.gz |
cryptsetup-tokens: fix typo in tpm2 token dump output
cryptsetup_token_dump() gets called when the user calls
"cryptsetup luksDump" for a volume and it prints the token-specific
data.
The tpm2 cryptsetup_token_dump() function misspells tpm2 as tmp2 on two
lines of its output.
Fix that.
-rw-r--r-- | src/cryptsetup/cryptsetup-tokens/cryptsetup-token-systemd-tpm2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptsetup/cryptsetup-tokens/cryptsetup-token-systemd-tpm2.c b/src/cryptsetup/cryptsetup-tokens/cryptsetup-token-systemd-tpm2.c index 2daa55c457..0c9d566e0d 100644 --- a/src/cryptsetup/cryptsetup-tokens/cryptsetup-token-systemd-tpm2.c +++ b/src/cryptsetup/cryptsetup-tokens/cryptsetup-token-systemd-tpm2.c @@ -167,8 +167,8 @@ _public_ void cryptsetup_token_dump( crypt_log(cd, "\ttpm2-pcrs: %s\n", strna(pcrs_str)); crypt_log(cd, "\ttpm2-bank: %s\n", strna(tpm2_pcr_bank_to_string(pcr_bank))); - crypt_log(cd, "\ttmp2-blob: %s\n", blob_str); - crypt_log(cd, "\ttmp2-policy-hash:" CRYPT_DUMP_LINE_SEP "%s\n", policy_hash_str); + crypt_log(cd, "\ttpm2-blob: %s\n", blob_str); + crypt_log(cd, "\ttpm2-policy-hash:" CRYPT_DUMP_LINE_SEP "%s\n", policy_hash_str); } /* |