From c243688f6062cf4577610d8ef71ba0ec60a932e2 Mon Sep 17 00:00:00 2001 From: lloyd Date: Sun, 23 Nov 2008 21:17:20 +0000 Subject: Add an Algorithm_Factory& argument to Engine::get_cipher to avoid a dependency on libstate.h --- src/engine/engine.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/engine/engine.h') diff --git a/src/engine/engine.h b/src/engine/engine.h index f73ecb0a0..b0861d134 100644 --- a/src/engine/engine.h +++ b/src/engine/engine.h @@ -83,7 +83,9 @@ class BOTAN_DLL Engine mod_exp(const BigInt&, Power_Mod::Usage_Hints) const { return 0; } - virtual Keyed_Filter* get_cipher(const std::string&, Cipher_Dir) + virtual Keyed_Filter* get_cipher(const std::string&, + Cipher_Dir, + Algorithm_Factory&) { return 0; } #if defined(BOTAN_HAS_IF_PUBLIC_KEY_FAMILY) -- cgit v1.2.3