aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography/primitives/block/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'cryptography/primitives/block/base.py')
-rw-r--r--cryptography/primitives/block/base.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cryptography/primitives/block/base.py b/cryptography/primitives/block/base.py
index ed37685d..8faafadd 100644
--- a/cryptography/primitives/block/base.py
+++ b/cryptography/primitives/block/base.py
@@ -14,6 +14,7 @@ class BlockCipher(object):
return api.update_encrypt_context(self._ctx, plaintext)
def finalize(self):
+ # TODO: this might be a decrypt context
result = api.finalize_encrypt_context(self._ctx)
self._ctx = None
return result