mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-11 19:00:02 +01:00
Add tests for CRYPT_VOLUME_KEY_DIGEST_REUSE flag.
Tests commit 7569519530
This commit is contained in:
committed by
Milan Broz
parent
6961f2caae
commit
ea4b586c77
@@ -5224,6 +5224,8 @@ static int verify_and_update_segment_digest(struct crypt_device *cd,
|
||||
if (r >= 0)
|
||||
goto out;
|
||||
|
||||
/* FIXME: check new volume key is usable with current default segment */
|
||||
|
||||
r = update_volume_key_segment_digest(cd, &cd->u.luks2.hdr, digest, 1);
|
||||
if (r)
|
||||
log_err(cd, _("Failed to assign keyslot %u as the new volume key."), keyslot);
|
||||
|
||||
Reference in New Issue
Block a user