aboutsummaryrefslogtreecommitdiffstats
path: root/src/stream/ofb/ofb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream/ofb/ofb.cpp')
-rw-r--r--src/stream/ofb/ofb.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/stream/ofb/ofb.cpp b/src/stream/ofb/ofb.cpp
index 1f25c5c14..382a2b4dd 100644
--- a/src/stream/ofb/ofb.cpp
+++ b/src/stream/ofb/ofb.cpp
@@ -14,11 +14,7 @@ namespace Botan {
/*
* OFB Constructor
*/
-OFB::OFB(BlockCipher* ciph) :
- StreamCipher(ciph->MINIMUM_KEYLENGTH,
- ciph->MAXIMUM_KEYLENGTH,
- ciph->KEYLENGTH_MULTIPLE),
- permutation(ciph)
+OFB::OFB(BlockCipher* ciph) : permutation(ciph)
{
position = 0;
buffer.resize(permutation->block_size());