mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Use crypt_volume_key_next helper in bitlk.
This commit is contained in:
@@ -757,7 +757,7 @@ int BITLK_dump(struct crypt_device *cd, struct device *device, struct bitlk_meta
|
|||||||
vk_p = vmk_p->vk;
|
vk_p = vmk_p->vk;
|
||||||
while (vk_p) {
|
while (vk_p) {
|
||||||
log_std(cd, "\tKey data size:\t%zu [bytes]\n", vk_p->keylength);
|
log_std(cd, "\tKey data size:\t%zu [bytes]\n", vk_p->keylength);
|
||||||
vk_p = vk_p->next;
|
vk_p = crypt_volume_key_next(vk_p);
|
||||||
}
|
}
|
||||||
vmk_p = vmk_p->next;
|
vmk_p = vmk_p->next;
|
||||||
next_id++;
|
next_id++;
|
||||||
|
|||||||
Reference in New Issue
Block a user