aboutsummaryrefslogtreecommitdiff
path: root/command_id.cc
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2018-06-23 11:47:10 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2018-06-23 11:47:10 +0200
commitce0a70318adf6f68cf99c3fcb3c030161e2addd2 (patch)
tree9945dd8130ed8d78e499ed6d8fe817b4486a35f5 /command_id.cc
parentee6c9c61b93fae7e041abb19e42134d3a831a846 (diff)
downloadlibnitrokey-ce0a70318adf6f68cf99c3fcb3c030161e2addd2.tar.gz
libnitrokey-ce0a70318adf6f68cf99c3fcb3c030161e2addd2.tar.bz2
Handle WINK command
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'command_id.cc')
-rw-r--r--command_id.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/command_id.cc b/command_id.cc
index d81d487..a6c2a28 100644
--- a/command_id.cc
+++ b/command_id.cc
@@ -173,10 +173,10 @@ const char *commandid_to_string(CommandID id) {
return "NEW_AES_KEY";
case CommandID::WRITE_TO_SLOT_2:
return "WRITE_TO_SLOT_2";
- break;
case CommandID::SEND_OTP_DATA:
return "SEND_OTP_DATA";
- break;
+ case CommandID::WINK:
+ return "WINK";
}
return "UNKNOWN";
}