aboutsummaryrefslogtreecommitdiff
path: root/NitrokeyManager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'NitrokeyManager.cc')
-rw-r--r--NitrokeyManager.cc4
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);
}