diff options
Diffstat (limited to 'NK_C_API.cc')
-rw-r--r-- | NK_C_API.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/NK_C_API.cc b/NK_C_API.cc index 01963fc..103f34d 100644 --- a/NK_C_API.cc +++ b/NK_C_API.cc @@ -686,7 +686,12 @@ extern "C" { }); } - + NK_C_API int NK_wink() { + auto m = NitrokeyManager::instance(); + return get_without_result([&]() { + return m->wink(); + }); + } #ifdef __cplusplus } |