diff options
author | lloyd <[email protected]> | 2009-10-14 23:23:29 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-10-14 23:23:29 +0000 |
commit | 1d54dbb30e97097ef74b302032430a97e56fb328 (patch) | |
tree | 1f417d6a51a48ec1700e974d0e3c4e0a90d6191f /src/engine/def_engine/def_mode.cpp | |
parent | 01ea6faf1b9fb3ccd7233b1117e09c642c22d238 (diff) |
Similiar treatment for OFB which is also just a plain stream cipher
Diffstat (limited to 'src/engine/def_engine/def_mode.cpp')
-rw-r--r-- | src/engine/def_engine/def_mode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/def_engine/def_mode.cpp b/src/engine/def_engine/def_mode.cpp index 120489b38..b7373ef84 100644 --- a/src/engine/def_engine/def_mode.cpp +++ b/src/engine/def_engine/def_mode.cpp @@ -81,7 +81,7 @@ Keyed_Filter* get_cipher_mode(const BlockCipher* block_cipher, { #if defined(BOTAN_HAS_OFB) if(mode == "OFB") - return new OFB(block_cipher->clone()); + return new StreamCipher_Filter(new OFB(block_cipher->clone())); #endif #if defined(BOTAN_HAS_CTR_BE) |