summaryrefslogtreecommitdiff
path: root/include/NitrokeyManager.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-01-30 17:29:53 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2017-03-11 15:41:40 +0100
commit84a98c04c6c79455b04ba300ebfa5ec752abb721 (patch)
tree3bf2686d6138653904b7216f1e6c3074762276b7 /include/NitrokeyManager.h
parenta721ca6391d1f6494d5493fb0e56c868bcd2b60c (diff)
downloadlibnitrokey-84a98c04c6c79455b04ba300ebfa5ec752abb721.tar.gz
libnitrokey-84a98c04c6c79455b04ba300ebfa5ec752abb721.tar.bz2
Send current time when checking time synchronization
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include/NitrokeyManager.h')
-rw-r--r--include/NitrokeyManager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/NitrokeyManager.h b/include/NitrokeyManager.h
index f0cab68..3e38cc3 100644
--- a/include/NitrokeyManager.h
+++ b/include/NitrokeyManager.h
@@ -37,7 +37,7 @@ namespace nitrokey {
stick10::ReadSlot::ResponsePayload get_HOTP_slot_data(const uint8_t slot_number);
bool set_time(uint64_t time);
- bool get_time();
+ bool get_time(uint64_t time = 0);
bool erase_totp_slot(uint8_t slot_number, const char *temporary_password);
bool erase_hotp_slot(uint8_t slot_number, const char *temporary_password);
bool connect(const char *device_model);