diff options
author | lloyd <[email protected]> | 2008-11-08 21:37:40 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-08 21:37:40 +0000 |
commit | 802cda3710610cafc328a82fb7997e3e01bbcf8d (patch) | |
tree | 24ac220452c0e1f92171898d262c9bd2351e0319 /src/engine/def_engine | |
parent | 28901d2b99d6b9066cfdff6329d26fb975c52809 (diff) |
Add virtual hook to remove dep of Default_Engine on Engine itself
Diffstat (limited to 'src/engine/def_engine')
-rw-r--r-- | src/engine/def_engine/eng_def.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/def_engine/eng_def.h b/src/engine/def_engine/eng_def.h index 36ef14a69..3d3fba809 100644 --- a/src/engine/def_engine/eng_def.h +++ b/src/engine/def_engine/eng_def.h @@ -55,6 +55,8 @@ class BOTAN_DLL Default_Engine : public Engine Modular_Exponentiator* mod_exp(const BigInt&, Power_Mod::Usage_Hints) const; + virtual bool can_add_algorithms() { return true; } + Keyed_Filter* get_cipher(const std::string&, Cipher_Dir); private: BlockCipher* find_block_cipher(const std::string&) const; |