From 443e50b1a447dee6181aa721fb310060cecd63ae Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Fri, 14 Oct 2016 12:55:42 +0200 Subject: Fixed too long string test fail caused by different behavior of Storage Signed-off-by: Szczepan Zalega --- NitrokeyManager.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'NitrokeyManager.cc') diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc index ac6ce77..872ebb4 100644 --- a/NitrokeyManager.cc +++ b/NitrokeyManager.cc @@ -280,11 +280,10 @@ namespace nitrokey{ auto p = get_payload(); strcpyT(p.old_pin, current_PIN); p.set_kind(StoKind); - ChangeAdminUserPin20Current::CommandTransaction::run(*device, p); - auto p2 = get_payload(); strcpyT(p2.new_pin, new_PIN); p2.set_kind(StoKind); + ChangeAdminUserPin20Current::CommandTransaction::run(*device, p); ChangeAdminUserPin20New::CommandTransaction::run(*device, p2); } break; -- cgit v1.2.1