aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NK_C_API.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/NK_C_API.cc b/NK_C_API.cc
index c679597..01963fc 100644
--- a/NK_C_API.cc
+++ b/NK_C_API.cc
@@ -366,10 +366,7 @@ extern "C" {
}
NK_C_API int NK_totp_get_time() {
- auto m = NitrokeyManager::instance();
- return get_without_result([&]() {
- m->get_time(0); // FIXME check how that should work
- });
+ return 0;
}
NK_C_API int NK_change_admin_PIN(const char *current_PIN, const char *new_PIN) {