aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-07-23 13:18:01 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-08-01 13:54:56 +0200
commit1fa8a10d3baeebbec58f09203482fb0e8b84db15 (patch)
tree1b93c6c0bfa10395ff81e5e929b21fa5c77a4451
parent7bb54901c9b557aaae2c4c5f9ea95af162caaf18 (diff)
downloadlibnitrokey-1fa8a10d3baeebbec58f09203482fb0e8b84db15.tar.gz
libnitrokey-1fa8a10d3baeebbec58f09203482fb0e8b84db15.tar.bz2
Number totp config bits
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
-rw-r--r--NitrokeyManager.cc2
1 files changed, 1 insertions, 1 deletions
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) {