mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Fix typos found by lintian.
This commit is contained in:
@@ -3828,7 +3828,7 @@ static int reencrypt_init_by_keyslot_context(struct crypt_device *cd,
|
||||
|
||||
if (name && !device_direct_io(crypt_data_device(cd))) {
|
||||
log_dbg(cd, "Device %s does not support direct I/O.", device_path(crypt_data_device(cd)));
|
||||
/* FIXME: Add more specific error mesage for translation later. */
|
||||
/* FIXME: Add more specific error message for translation later. */
|
||||
log_err(cd, _("Failed to initialize reencryption device stack."));
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
@@ -128,7 +128,7 @@ int main(int argc, char *argv[])
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
/* run scan in separate processes, it is up to scheduler to assign CPUs inteligently */
|
||||
/* run scan in separate processes, it is up to scheduler to assign CPUs intelligently */
|
||||
for (i = 0; i < procs; i++)
|
||||
check(cd, argv[3], i, procs);
|
||||
|
||||
|
||||
@@ -2456,7 +2456,7 @@ static void LuksConvert(void)
|
||||
OK_(strcmp(crypt_get_type(cd), CRYPT_LUKS1));
|
||||
CRYPT_FREE(cd);
|
||||
|
||||
// exercice non-pbkdf2 LUKSv2 conversion
|
||||
// exercise non-pbkdf2 LUKSv2 conversion
|
||||
if (!_fips_mode) {
|
||||
OK_(crypt_init(&cd, DEVICE_1));
|
||||
OK_(crypt_set_data_offset(cd, offset));
|
||||
@@ -2467,7 +2467,7 @@ static void LuksConvert(void)
|
||||
CRYPT_FREE(cd);
|
||||
}
|
||||
|
||||
// exercice non LUKS1 compatible keyslot
|
||||
// exercise non LUKS1 compatible keyslot
|
||||
OK_(crypt_init(&cd, DEVICE_1));
|
||||
OK_(crypt_set_data_offset(cd, offset));
|
||||
OK_(crypt_format(cd, CRYPT_LUKS2, cipher, cipher_mode, NULL, NULL, 32, &luks2));
|
||||
@@ -2477,7 +2477,7 @@ static void LuksConvert(void)
|
||||
FAIL_(crypt_convert(cd, CRYPT_LUKS1, NULL), "Unassigned keyslots are incompatible with LUKSv1 format");
|
||||
CRYPT_FREE(cd);
|
||||
|
||||
// exercice LUKSv2 conversion with single pbkdf2 keyslot being active
|
||||
// exercise LUKSv2 conversion with single pbkdf2 keyslot being active
|
||||
OK_(crypt_init(&cd, DEVICE_1));
|
||||
OK_(crypt_set_data_offset(cd, offset));
|
||||
OK_(crypt_set_pbkdf_type(cd, &pbkdf2));
|
||||
|
||||
@@ -236,7 +236,7 @@ run_all() {
|
||||
RUN "P" $1 read_lseek_blockwise $((2*BSIZE)) $BSIZE $((BSIZE+1))
|
||||
RUN "P" $1 read_lseek_blockwise $((3*BSIZE-2)) $BSIZE $((BSIZE+1))
|
||||
|
||||
# hiting exactly the sector boundary
|
||||
# hitting exactly the sector boundary
|
||||
RUN "P" $1 read_lseek_blockwise $((BSIZE-1)) $BSIZE 1
|
||||
RUN "P" $1 read_lseek_blockwise $((BSIZE-1)) $BSIZE $((BSIZE+1))
|
||||
RUN "P" $1 read_lseek_blockwise $((BSIZE+1)) $BSIZE $((BSIZE-1))
|
||||
@@ -290,7 +290,7 @@ run_all() {
|
||||
RUN "P" $1 write_lseek_blockwise $((2*BSIZE)) $BSIZE $((BSIZE+1))
|
||||
RUN "P" $1 write_lseek_blockwise $((3*BSIZE-2)) $BSIZE $((BSIZE+1))
|
||||
|
||||
# hiting exactly the sector boundary
|
||||
# hitting exactly the sector boundary
|
||||
RUN "P" $1 write_lseek_blockwise $((BSIZE-1)) $BSIZE 1
|
||||
RUN "P" $1 write_lseek_blockwise $((BSIZE-1)) $BSIZE $((BSIZE+1))
|
||||
RUN "P" $1 write_lseek_blockwise $((BSIZE+1)) $BSIZE $((BSIZE-1))
|
||||
|
||||
Reference in New Issue
Block a user