aboutsummaryrefslogtreecommitdiff
path: root/NK_C_API.cc
diff options
context:
space:
mode:
Diffstat (limited to 'NK_C_API.cc')
-rw-r--r--NK_C_API.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/NK_C_API.cc b/NK_C_API.cc
index 8fbd6db..8af0128 100644
--- a/NK_C_API.cc
+++ b/NK_C_API.cc
@@ -72,7 +72,7 @@ extern int NK_totp_set_time(uint64_t time){
}
extern int NK_totp_mark_time(){
auto m = NitrokeyManager::instance();
- return m->mark_time();
+ return m->get_time();
}
} \ No newline at end of file