aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2018-07-07 21:12:03 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2018-07-07 21:12:03 +0200
commit601f43bfa71b479e32a289eaeec75069cbc7c26f (patch)
treeb73207237401323fd0e829b330991109976bf652
parentf0f1691bc741da48bc2e1adfa4535026ae42d6d3 (diff)
downloadlibnitrokey-pr_116.tar.gz
libnitrokey-pr_116.tar.bz2
Handle new enum model value in NK_login_enumpr_116
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
-rw-r--r--NK_C_API.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/NK_C_API.cc b/NK_C_API.cc
index d8b8168..ff612f0 100644
--- a/NK_C_API.cc
+++ b/NK_C_API.cc
@@ -170,6 +170,7 @@ extern "C" {
case NK_STORAGE:
model_string = "S";
break;
+ case NK_DISCONNECTED:
default:
/* no such enum value -- return error code */
return 0;