aboutsummaryrefslogtreecommitdiffstats
path: root/src/modes/ecb/ecb.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-08 21:59:52 +0000
committerlloyd <[email protected]>2008-11-08 21:59:52 +0000
commitda5a5cbea7f611ebf41a8d3065700106a8d89f2d (patch)
tree2063c22d19d8583d93208889967b68b10c0a3760 /src/modes/ecb/ecb.cpp
parenta9f747ab6c6f1949410368514e5af74786494318 (diff)
Remove lookup.h from modebase
Diffstat (limited to 'src/modes/ecb/ecb.cpp')
-rw-r--r--src/modes/ecb/ecb.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modes/ecb/ecb.cpp b/src/modes/ecb/ecb.cpp
index 8effac1d5..2d0888cea 100644
--- a/src/modes/ecb/ecb.cpp
+++ b/src/modes/ecb/ecb.cpp
@@ -12,7 +12,8 @@ namespace Botan {
* ECB Constructor *
*************************************************/
ECB::ECB(const std::string& cipher_name, const std::string& padding_name) :
- BlockCipherMode(cipher_name, "ECB", 0), padder(get_bc_pad(padding_name))
+ BlockCipherMode(get_block_cipher(cipher_name),
+ "ECB", 0), padder(get_bc_pad(padding_name))
{
}