diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2017-03-07 16:57:47 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2017-03-11 15:41:52 +0100 |
commit | 7132b01a499568c21a7ec64b9c58672541bbb7f6 (patch) | |
tree | 6b2012aa387f872943cffdb7202617bcbfd7c776 /NitrokeyManager.cc | |
parent | 257062b9a5130cf25dfd26d4ec93880abde1c9ce (diff) | |
download | libnitrokey-7132b01a499568c21a7ec64b9c58672541bbb7f6.tar.gz libnitrokey-7132b01a499568c21a7ec64b9c58672541bbb7f6.tar.bz2 |
Handle enabling update mode on Storage device
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'NitrokeyManager.cc')
-rw-r--r-- | NitrokeyManager.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc index 4a4f1d9..630a4e4 100644 --- a/NitrokeyManager.cc +++ b/NitrokeyManager.cc @@ -735,6 +735,10 @@ namespace nitrokey{ misc::execute_password_command<stick20::ExportFirmware>(device, admin_pin); } + void NitrokeyManager::enable_firmware_update(const char* firmware_pin) { + misc::execute_password_command<stick20::EnableFirmwareUpdate>(device, firmware_pin); + } + void NitrokeyManager::clear_new_sd_card_warning(const char* admin_pin) { misc::execute_password_command<stick20::SendClearNewSdCardFound>(device, admin_pin); } |