diff options
author | lloyd <[email protected]> | 2008-10-02 15:30:57 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-10-02 15:30:57 +0000 |
commit | 6eaae824eb88873748984ec53f6bf285dd30244c (patch) | |
tree | aac39d26bdae6855cbbe0d50e05abdd08a00c0f8 /src/core/selftest | |
parent | 7f7827b694044d9394fb45c18c6fe518a477fc0b (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 'src/core/selftest')
-rw-r--r-- | src/core/selftest/selftest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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)); } /************************************************* |