mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
cryptsetup: fix wrong argument order for mechanism vs. name
Fixes: https://github.com/systemd/systemd/issues/39655
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
6f1f3a3917
commit
c6c43d677a
@@ -1233,7 +1233,7 @@ static int measured_crypt_activate_by_passphrase(
|
||||
if (keyslot < 0)
|
||||
return keyslot;
|
||||
|
||||
return measured_crypt_activate_by_volume_key(cd, mechanism, name, keyslot, vk, vks, flags);
|
||||
return measured_crypt_activate_by_volume_key(cd, name, mechanism, keyslot, vk, vks, flags);
|
||||
|
||||
shortcut:
|
||||
keyslot = crypt_activate_by_passphrase(cd, name, keyslot, passphrase, passphrase_size, flags);
|
||||
|
||||
Reference in New Issue
Block a user