aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--]tests/time-keygen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/time-keygen.py b/tests/time-keygen.py
index fcd47c6..b7311ba 100644..100755
--- a/tests/time-keygen.py
+++ b/tests/time-keygen.py
@@ -22,7 +22,7 @@ hsm.login(HAL_USER_NORMAL, args.pin)
flags = HAL_KEY_FLAG_USAGE_DIGITALSIGNATURE | (HAL_KEY_FLAG_TOKEN if args.token else 0)
sum = timedelta()
-for n in xrange(1, args.iterations):
+for n in xrange(1, args.iterations + 1):
t0 = datetime.now()