summaryrefslogtreecommitdiff
path: root/rsa/pkcs1_v2.py
diff options
context:
space:
mode:
Diffstat (limited to 'rsa/pkcs1_v2.py')
-rw-r--r--rsa/pkcs1_v2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsa/pkcs1_v2.py b/rsa/pkcs1_v2.py
index d6d2423..5f9c7dd 100644
--- a/rsa/pkcs1_v2.py
+++ b/rsa/pkcs1_v2.py
@@ -97,7 +97,7 @@ if __name__ == '__main__':
if failures:
break
- if count and count % 100 == 0:
+ if count % 100 == 0 and count:
print('%i times' % count)
print('Doctests done')