Fix typos.

Typos found with codespell.
This commit is contained in:
Samanta Navarro
2020-11-28 11:41:18 +00:00
parent 3283135f16
commit 38e631d174
9 changed files with 15 additions and 15 deletions

View File

@@ -1132,14 +1132,14 @@ int BITLK_get_volume_key(struct crypt_device *cd,
if (next_vmk->protection == BITLK_PROTECTION_PASSPHRASE) {
r = bitlk_kdf(cd, password, passwordLen, false, next_vmk->salt, &vmk_dec_key);
if (r) {
/* something wrong happend, but we still want to check other key slots */
/* something wrong happened, but we still want to check other key slots */
next_vmk = next_vmk->next;
continue;
}
} else if (next_vmk->protection == BITLK_PROTECTION_RECOVERY_PASSPHRASE) {
r = get_recovery_key(cd, password, passwordLen, &recovery_key);
if (r) {
/* something wrong happend, but we still want to check other key slots */
/* something wrong happened, but we still want to check other key slots */
next_vmk = next_vmk->next;
continue;
}