mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-09 09:49:59 +01:00
Drop duplicate error message from reencrypt load.
This commit is contained in:
@@ -2632,10 +2632,8 @@ static int _reencrypt_load(struct crypt_device *cd,
|
|||||||
}
|
}
|
||||||
|
|
||||||
r = LUKS2_reenc_load(cd, hdr, device_size, params, &rh);
|
r = LUKS2_reenc_load(cd, hdr, device_size, params, &rh);
|
||||||
if (r < 0 || !rh) {
|
if (r < 0 || !rh)
|
||||||
log_err(cd, _("Failed to load reenc context."));
|
|
||||||
goto err;
|
goto err;
|
||||||
}
|
|
||||||
|
|
||||||
r = LUKS2_verify_and_upload_keys(cd, hdr, rh->digest_old, rh->digest_new, *vks);
|
r = LUKS2_verify_and_upload_keys(cd, hdr, rh->digest_old, rh->digest_new, *vks);
|
||||||
if (r == -ENOENT) {
|
if (r == -ENOENT) {
|
||||||
|
|||||||
Reference in New Issue
Block a user