diff options
Diffstat (limited to 'src/core/selftest/selftest.cpp')
-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)); } /************************************************* |