summaryrefslogtreecommitdiff
path: root/NitrokeyManager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'NitrokeyManager.cc')
-rw-r--r--NitrokeyManager.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc
index 7ffee51..018557c 100644
--- a/NitrokeyManager.cc
+++ b/NitrokeyManager.cc
@@ -277,4 +277,10 @@ namespace nitrokey{
SetPasswordSafeSlotData2::CommandTransaction::run(*device, p2);
}
+ void NitrokeyManager::erase_password_safe_slot(uint8_t slot_number) {
+ auto p = get_payload<ErasePasswordSafeSlot>();
+ p.slot_number = slot_number;
+ ErasePasswordSafeSlot::CommandTransaction::run(*device, p);
+ }
+
} \ No newline at end of file