aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-05-16 09:26:30 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-05-16 09:26:30 -0400
commit2e36fe1289bcf44f9ba232218a0ee666ea34efd2 (patch)
tree73e814331252a27cba43648ef7cb620eb487d5c2
parentd8efa499209a056f9334d3f772034c399fb695c0 (diff)
downloadcryptography-2e36fe1289bcf44f9ba232218a0ee666ea34efd2.tar.gz
cryptography-2e36fe1289bcf44f9ba232218a0ee666ea34efd2.tar.bz2
cryptography-2e36fe1289bcf44f9ba232218a0ee666ea34efd2.zip
sometimes you can't read and leave things in
-rw-r--r--cryptography/hazmat/primitives/ciphers/modes.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/cryptography/hazmat/primitives/ciphers/modes.py b/cryptography/hazmat/primitives/ciphers/modes.py
index 3d320c25..004a68bf 100644
--- a/cryptography/hazmat/primitives/ciphers/modes.py
+++ b/cryptography/hazmat/primitives/ciphers/modes.py
@@ -59,9 +59,8 @@ class OFB(object):
@utils.register_interface(interfaces.ModeWithInitializationVector)
class CFB(object):
name = "CFB"
- NATIVE_SIZE = object()
- def __init__(self, initialization_vector, something=NATIVE_SIZE):
+ def __init__(self, initialization_vector):
self.initialization_vector = initialization_vector
def validate_for_algorithm(self, algorithm):