mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-06 16:30:04 +01:00
We do not need to wipe specific keyslot area only.
This commit is contained in:
@@ -4537,7 +4537,7 @@ int crypt_keyslot_destroy(struct crypt_device *cd, int keyslot)
|
||||
return LUKS_del_key(keyslot, &cd->u.luks1.hdr, cd);
|
||||
}
|
||||
|
||||
return LUKS2_keyslot_wipe(cd, &cd->u.luks2.hdr, keyslot, 0);
|
||||
return LUKS2_keyslot_wipe(cd, &cd->u.luks2.hdr, keyslot);
|
||||
}
|
||||
|
||||
static int _check_header_data_overlap(struct crypt_device *cd, const char *name)
|
||||
|
||||
Reference in New Issue
Block a user