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 3cab5479..f2dd9341 100644
--- a/cryptography/fernet.py
+++ b/cryptography/fernet.py
@@ -89,7 +89,7 @@ class Fernet(object):
iv = data[9:25]
ciphertext = data[25:-32]
if ttl is not None:
- if timestamp + ttl < current_time:
+ if timestamp + ttl < current_time:
raise InvalidToken
if current_time + _MAX_CLOCK_SKEW < timestamp:
raise InvalidToken