aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/engine.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-23 21:17:20 +0000
committerlloyd <[email protected]>2008-11-23 21:17:20 +0000
commitc243688f6062cf4577610d8ef71ba0ec60a932e2 (patch)
tree1c9f21adcdffc476f520255623016466ec4d5b96 /src/engine/engine.h
parentdfd6e089a95f2c7a7179b366afbbbebf3fedc576 (diff)
Add an Algorithm_Factory& argument to Engine::get_cipher to avoid a
dependency on libstate.h
Diffstat (limited to 'src/engine/engine.h')
-rw-r--r--src/engine/engine.h4
1 files changed, 3 insertions, 1 deletions
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)