summaryrefslogtreecommitdiff
path: root/src/cryptsetup/cryptsetup-tokens
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-08-18 19:14:31 +0900
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-08-18 13:36:14 +0200
commitbdbb61f69ff9f0d63f204a374c49ed3b2853ff5d (patch)
treed9594ff194bbc8f4213e4741ab97fe5ba58efdeb /src/cryptsetup/cryptsetup-tokens
parent66e093def81d18967c412cb578c2aeecb1c33551 (diff)
downloadsystemd-bdbb61f69ff9f0d63f204a374c49ed3b2853ff5d.tar.gz
tree-wide: fix typo
Diffstat (limited to 'src/cryptsetup/cryptsetup-tokens')
-rw-r--r--src/cryptsetup/cryptsetup-tokens/cryptsetup-token-systemd-tpm2.c4
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 c7819b1a8d..2daa55c457 100644
--- a/src/cryptsetup/cryptsetup-tokens/cryptsetup-token-systemd-tpm2.c
+++ b/src/cryptsetup/cryptsetup-tokens/cryptsetup-token-systemd-tpm2.c
@@ -43,7 +43,7 @@ static int log_debug_open_error(struct crypt_device *cd, int r) {
* (alternatively: name is set to null, flags contains CRYPT_ACTIVATE_ALLOW_UNBOUND_KEY
* and token is assigned to at least single keyslot).
*
- * - if plugin defines validate funtion (see cryptsetup_token_validate below) it must have
+ * - if plugin defines validate function (see cryptsetup_token_validate below) it must have
* passed the check (aka return 0)
*/
_public_ int cryptsetup_token_open(
@@ -110,7 +110,7 @@ _public_ int cryptsetup_token_open(
if (r < 0)
return log_debug_open_error(cd, r);
- /* free'd automaticaly by libcryptsetup */
+ /* free'd automatically by libcryptsetup */
*password_len = strlen(base64_encoded);
*password = TAKE_PTR(base64_encoded);