aboutsummaryrefslogtreecommitdiff
path: root/command_id.cc
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2018-06-23 11:52:30 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2018-06-23 11:52:30 +0200
commit5d4003a6053667ec4ef75a5b39e38cf3f305cbea (patch)
treeff98294621521b3ab3bb6b72f23338b7dbadfd11 /command_id.cc
parent7c06025c9b9c28c642c8acc8bab7cbc974cd5575 (diff)
parentce0a70318adf6f68cf99c3fcb3c030161e2addd2 (diff)
downloadlibnitrokey-5d4003a6053667ec4ef75a5b39e38cf3f305cbea.tar.gz
libnitrokey-5d4003a6053667ec4ef75a5b39e38cf3f305cbea.tar.bz2
Merge branch 'handle_wink_command'
Handle WINK command, introduced in Storage v0.52
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";
}