aboutsummaryrefslogtreecommitdiffstats
path: root/checks
diff options
context:
space:
mode:
Diffstat (limited to 'checks')
-rw-r--r--checks/dolook.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/checks/dolook.cpp b/checks/dolook.cpp
index dd1b22b9f..0c20448af 100644
--- a/checks/dolook.cpp
+++ b/checks/dolook.cpp
@@ -89,9 +89,9 @@ Filter* lookup_cipher(const std::string& algname, const std::string& key,
{
try {
if(encrypt)
- return get_cipher(global_state(), algname, key, iv, ENCRYPTION);
+ return get_cipher(algname, key, iv, ENCRYPTION);
else
- return get_cipher(global_state(), algname, key, iv, DECRYPTION);
+ return get_cipher(algname, key, iv, DECRYPTION);
}
catch(Algorithm_Not_Found) {}
catch(Invalid_Algorithm_Name) {}