summaryrefslogtreecommitdiff
path: root/tests/lib.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-01-25 19:19:36 +0000
committerRobin Krahl <robin.krahl@ireas.org>2019-01-25 20:22:28 +0100
commit6dfc1a2929313e24ea03e78b486b72f7b1c1e5ec (patch)
tree28436a15862d5305e2df68c157d22cc46507360b /tests/lib.rs
parent809d31a4273505487febb2dd281376d2bb3766ab (diff)
downloadnitrokey-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/lib.rs')
0 files changed, 0 insertions, 0 deletions