From dec0804ab37ef874b1f7888164025e1c8c0d71cc Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 23 Aug 2006 05:51:31 +0000 Subject: Support for MAC filters Stream ciphers no longer require choosing a direction. --- misc/python/botan/__init__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'misc/python/botan') diff --git a/misc/python/botan/__init__.py b/misc/python/botan/__init__.py index d92e70fcb..02565099c 100644 --- a/misc/python/botan/__init__.py +++ b/misc/python/botan/__init__.py @@ -7,6 +7,8 @@ def Filter(name, key = None, iv = None, dir = None): return make_filter(name, key, iv, dir) elif key != None and dir != None: return make_filter(name, key, dir) + elif key != None: + return make_filter(name, key) else: return make_filter(name) -- cgit v1.2.3