aboutsummaryrefslogtreecommitdiff
path: root/NK_C_API.cc
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-07-23 14:01:10 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-08-01 13:54:56 +0200
commit7eb15813ffa2c2766e53245311b017c3b9c196fb (patch)
treeb5740b9da754f9f7bf2f0cebb06f619826874123 /NK_C_API.cc
parent93350afd317250b4c5d4c2519dc7a9248f68cfdb (diff)
downloadlibnitrokey-7eb15813ffa2c2766e53245311b017c3b9c196fb.tar.gz
libnitrokey-7eb15813ffa2c2766e53245311b017c3b9c196fb.tar.bz2
Rename mark_time -> get_time
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
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