aboutsummaryrefslogtreecommitdiffstats
path: root/wrappers/boost-python
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-10-02 15:30:57 +0000
committerlloyd <[email protected]>2008-10-02 15:30:57 +0000
commit6eaae824eb88873748984ec53f6bf285dd30244c (patch)
treeaac39d26bdae6855cbbe0d50e05abdd08a00c0f8 /wrappers/boost-python
parent7f7827b694044d9394fb45c18c6fe518a477fc0b (diff)
Revert part of revision b87599ffaee2d8ed2ec7597634413e73e4fb2fd8 that
added a new mandatory parameter of a Library_State& to get_cipher(). Do this so Monotone does not have to special case. Other lookup related functions like retrieve_<type> and add_algorithm() still require a Library_State& however.
Diffstat (limited to 'wrappers/boost-python')
-rw-r--r--wrappers/boost-python/src/filter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/wrappers/boost-python/src/filter.cpp b/wrappers/boost-python/src/filter.cpp
index 262622eef..830e090de 100644
--- a/wrappers/boost-python/src/filter.cpp
+++ b/wrappers/boost-python/src/filter.cpp
@@ -93,7 +93,7 @@ Filter* make_filter3(const std::string& name,
Cipher_Dir direction)
{
return return_or_raise(
- get_cipher(global_state(), name, key, direction),
+ get_cipher(name, key, direction),
name);
}
@@ -103,7 +103,7 @@ Filter* make_filter4(const std::string& name,
Cipher_Dir direction)
{
return return_or_raise(
- get_cipher(global_state(), name, key, iv, direction),
+ get_cipher(name, key, iv, direction),
name);
}