diff options
Diffstat (limited to 'src/modes/ecb/ecb.cpp')
-rw-r--r-- | src/modes/ecb/ecb.cpp | 3 |
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)) { } |