aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cryptography/fernet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptography/fernet.py b/cryptography/fernet.py
index d6a94424..064aceec 100644
--- a/cryptography/fernet.py
+++ b/cryptography/fernet.py
@@ -71,6 +71,6 @@ def constant_time_compare(a, b):
if len(a) != len(b):
return False
result = 0
- for i in xrange(len(a)):
+ for i in range(len(a)):
result |= six.indexbytes(a, i) ^ six.indexbytes(b, i)
return result == 0