diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-01-25 19:19:36 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-01-25 20:22:28 +0100 |
commit | 6dfc1a2929313e24ea03e78b486b72f7b1c1e5ec (patch) | |
tree | 28436a15862d5305e2df68c157d22cc46507360b /tests/util/mod.rs | |
parent | 809d31a4273505487febb2dd281376d2bb3766ab (diff) | |
download | nitrokey-rs-6dfc1a2929313e24ea03e78b486b72f7b1c1e5ec.tar.gz nitrokey-rs-6dfc1a2929313e24ea03e78b486b72f7b1c1e5ec.tar.bz2 |
Add tolerance for timing issues to the TOTP tests
The TOTP test with the timestamp 59 often fails as the Nitrokey’s clock
ticks between setting the time and generating the TOTP code. This patch
also allows the TOTP code for timestamp 60 for this test case.
Diffstat (limited to 'tests/util/mod.rs')
0 files changed, 0 insertions, 0 deletions