aboutsummaryrefslogtreecommitdiffstats
path: root/misc/python/botan/__init__.py
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-08-23 05:51:31 +0000
committerlloyd <[email protected]>2006-08-23 05:51:31 +0000
commitdec0804ab37ef874b1f7888164025e1c8c0d71cc (patch)
treec820825b3dd6e8dc30aee6e133fa885f406e5abd /misc/python/botan/__init__.py
parent6b688d86c95da868dfe600c9d39485a4fafda0f8 (diff)
Support for MAC filters
Stream ciphers no longer require choosing a direction.
Diffstat (limited to 'misc/python/botan/__init__.py')
-rw-r--r--misc/python/botan/__init__.py2
1 files changed, 2 insertions, 0 deletions
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)