mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-14 20:30:04 +01:00
Allow passphrase change for unbound keyslots.
Also fixes small typo in API. Fixes #409.
This commit is contained in:
committed by
Milan Broz
parent
ee689d88b4
commit
cd1c36ef94
@@ -1520,7 +1520,7 @@ static int action_luksChangeKey(void)
|
||||
|
||||
/* Check password before asking for new one */
|
||||
r = crypt_activate_by_passphrase(cd, NULL, opt_key_slot,
|
||||
password, password_size, 0);
|
||||
password, password_size, CRYPT_ACTIVATE_ALLOW_UNBOUND_KEY);
|
||||
tools_passphrase_msg(r);
|
||||
check_signal(&r);
|
||||
if (r < 0)
|
||||
|
||||
Reference in New Issue
Block a user