mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-18 14:20:09 +01:00
Add pin size parameter in crypt_active_by_pin_token.
Well, after all it really should have supported binary data of arbitrary length.
This commit is contained in:
@@ -1542,7 +1542,7 @@ static int action_open_luks(void)
|
||||
if (r < 0)
|
||||
goto out;
|
||||
r = crypt_activate_by_pin_token(cd, activated_name, ARG_INT32(OPT_TOKEN_ID_ID),
|
||||
password, NULL, activate_flags);
|
||||
password, passwordLen, NULL, activate_flags);
|
||||
tools_keyslot_msg(r, UNLOCKED);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user