mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-14 20:30:04 +01:00
tcryptDump: fix support for --veracrypt-pim
the user provided PIM value was not forwarded to the respective implementation dumping the VeraCrypt header information. extends the tcrypt-compat-test such that tcryptDump is performed on VeraCrypt containers as well.
This commit is contained in:
@@ -446,6 +446,7 @@ static int action_tcryptDump(void)
|
||||
.keyfiles_count = opt_keyfiles_count,
|
||||
.flags = CRYPT_TCRYPT_LEGACY_MODES |
|
||||
(opt_veracrypt ? CRYPT_TCRYPT_VERA_MODES : 0),
|
||||
.veracrypt_pim = (opt_veracrypt_pim > 0) ? opt_veracrypt_pim : 0,
|
||||
};
|
||||
int r;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user