From 2e36fe1289bcf44f9ba232218a0ee666ea34efd2 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Fri, 16 May 2014 09:26:30 -0400 Subject: sometimes you can't read and leave things in --- cryptography/hazmat/primitives/ciphers/modes.py | 3 +-- 1 file changed, 1 insertion(+), 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): -- cgit v1.2.3