diff options
author | lloyd <[email protected]> | 2008-11-23 21:17:20 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-23 21:17:20 +0000 |
commit | c243688f6062cf4577610d8ef71ba0ec60a932e2 (patch) | |
tree | 1c9f21adcdffc476f520255623016466ec4d5b96 /src/engine/def_engine/def_eng.h | |
parent | dfd6e089a95f2c7a7179b366afbbbebf3fedc576 (diff) |
Add an Algorithm_Factory& argument to Engine::get_cipher to avoid a
dependency on libstate.h
Diffstat (limited to 'src/engine/def_engine/def_eng.h')
-rw-r--r-- | src/engine/def_engine/def_eng.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/def_engine/def_eng.h b/src/engine/def_engine/def_eng.h index 0c95c08c5..0cdf7ffb4 100644 --- a/src/engine/def_engine/def_eng.h +++ b/src/engine/def_engine/def_eng.h @@ -59,7 +59,9 @@ class BOTAN_DLL Default_Engine : public Engine virtual bool can_add_algorithms() { return true; } - Keyed_Filter* get_cipher(const std::string&, Cipher_Dir); + Keyed_Filter* get_cipher(const std::string&, Cipher_Dir, + Algorithm_Factory&); + private: BlockCipher* find_block_cipher(const SCAN_Name&, Algorithm_Factory&) const; |