mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +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);
|
||||
if (r < 0 || !rh) {
|
||||
log_err(cd, _("Failed to load reenc context."));
|
||||
if (r < 0 || !rh)
|
||||
goto err;
|
||||
}
|
||||
|
||||
r = LUKS2_verify_and_upload_keys(cd, hdr, rh->digest_old, rh->digest_new, *vks);
|
||||
if (r == -ENOENT) {
|
||||
|
||||
Reference in New Issue
Block a user