From 6eaae824eb88873748984ec53f6bf285dd30244c Mon Sep 17 00:00:00 2001 From: lloyd Date: Thu, 2 Oct 2008 15:30:57 +0000 Subject: 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_ and add_algorithm() still require a Library_State& however. --- src/core/selftest/selftest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/selftest') diff --git a/src/core/selftest/selftest.cpp b/src/core/selftest/selftest.cpp index 0dede1c9d..ad965fb79 100644 --- a/src/core/selftest/selftest.cpp +++ b/src/core/selftest/selftest.cpp @@ -35,9 +35,9 @@ void cipher_kat(const std::string& in, const std::string& out, const std::string& cipher) { do_kat(in, out, cipher, - get_cipher(global_state(), cipher, key, iv, ENCRYPTION)); + get_cipher(cipher, key, iv, ENCRYPTION)); do_kat(out, in, cipher, - get_cipher(global_state(), cipher, key, iv, DECRYPTION)); + get_cipher(cipher, key, iv, DECRYPTION)); } /************************************************* -- cgit v1.2.3