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/engine.h | |
parent | 28901d2b99d6b9066cfdff6329d26fb975c52809 (diff) |
Add virtual hook to remove dep of Default_Engine on Engine itself
Diffstat (limited to 'src/engine/engine.h')
-rw-r--r-- | src/engine/engine.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/engine.h b/src/engine/engine.h index d7fae2348..f21c67a79 100644 --- a/src/engine/engine.h +++ b/src/engine/engine.h @@ -122,6 +122,8 @@ class BOTAN_DLL Engine const class BlockCipherModePaddingMethod* bc_pad(const std::string&) const; + virtual bool can_add_algorithms() { return false; } + void add_algorithm(BlockCipher*) const; void add_algorithm(StreamCipher*) const; void add_algorithm(HashFunction*) const; |