From 1fa8a10d3baeebbec58f09203482fb0e8b84db15 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Sat, 23 Jul 2016 13:18:01 +0200 Subject: Number totp config bits Signed-off-by: Szczepan Zalega --- NitrokeyManager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc index 0fb4c57..bd4b705 100644 --- a/NitrokeyManager.cc +++ b/NitrokeyManager.cc @@ -120,7 +120,7 @@ namespace nitrokey{ return false; } - enum totp_config{digits8=0, enter, tokenID}; + enum totp_config{digits8=0, enter=1, tokenID=2}; bool NitrokeyManager::write_TOTP_slot(uint8_t slot_number, const char *slot_name, const char *secret, uint16_t time_window, bool use_8_digits, const char *temporary_password) { -- cgit v1.2.3