aboutsummaryrefslogtreecommitdiff
path: root/command_id.cc
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-11-08 18:58:17 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2016-11-26 20:21:27 +0100
commit119ea0b111c9ca46fda32911c1c8c33b36aad3db (patch)
tree5a7cee2a3345b4c99e33750a439259f973324424 /command_id.cc
parent130d7f12e42505a33f41073983d868ca0c3c78d1 (diff)
downloadlibnitrokey-119ea0b111c9ca46fda32911c1c8c33b36aad3db.tar.gz
libnitrokey-119ea0b111c9ca46fda32911c1c8c33b36aad3db.tar.bz2
Authorization fix: GetHOTP and WriteGeneralConfig + test
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'command_id.cc')
-rw-r--r--command_id.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/command_id.cc b/command_id.cc
index 9512b7d..a93d05c 100644
--- a/command_id.cc
+++ b/command_id.cc
@@ -139,6 +139,9 @@ const char *commandid_to_string(CommandID id) {
return "DETECT_SC_AES";
case CommandID::NEW_AES_KEY:
return "NEW_AES_KEY";
+ case CommandID::WRITE_TO_SLOT_2:
+ return "WRITE_TO_SLOT_2";
+ break;
}
return "UNKNOWN";
}