mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Remove missing digest condition from LUKS2 digest verification.
This commit is contained in:
committed by
Milan Broz
parent
3cf2da877f
commit
761a472b45
@@ -121,8 +121,6 @@ int LUKS2_digest_verify(struct crypt_device *cd,
|
||||
int digest, r;
|
||||
|
||||
digest = LUKS2_digest_by_keyslot(cd, hdr, keyslot);
|
||||
if (digest == -ENOENT)
|
||||
return 0;
|
||||
if (digest < 0)
|
||||
return digest;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user