mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-16 21:29:59 +01:00
Fix keyfile offset parameter for loopaes.
Fixes Issue#216.
This commit is contained in:
@@ -202,7 +202,7 @@ static int action_open_loopaes(void)
|
|||||||
|
|
||||||
r = crypt_activate_by_keyfile_offset(cd, action_argv[1], CRYPT_ANY_SLOT,
|
r = crypt_activate_by_keyfile_offset(cd, action_argv[1], CRYPT_ANY_SLOT,
|
||||||
opt_key_file, opt_keyfile_size,
|
opt_key_file, opt_keyfile_size,
|
||||||
opt_keyfile_size, activate_flags);
|
opt_keyfile_offset, activate_flags);
|
||||||
out:
|
out:
|
||||||
crypt_free(cd);
|
crypt_free(cd);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user