From bc5261c18a4608806dcb866afb73f7a979e2e90f Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Fri, 5 Aug 2016 09:55:06 +0200 Subject: Allow user to choose new user PIN when unlocking Signed-off-by: Szczepan Zalega --- include/stick10_commands.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/stick10_commands.h') diff --git a/include/stick10_commands.h b/include/stick10_commands.h index f275993..051547e 100644 --- a/include/stick10_commands.h +++ b/include/stick10_commands.h @@ -686,7 +686,8 @@ class UserAuthorize : Command { class UnlockUserPassword : Command { public: struct CommandPayload { - uint8_t admin_password[20]; + uint8_t admin_password[25]; + uint8_t user_new_password[25]; std::string dissect() const { std::stringstream ss; ss << " admin_password:\t" << admin_password<< std::endl; -- cgit v1.2.1