diff options
Diffstat (limited to 'src/lib/stream/rc4/rc4.cpp')
-rw-r--r-- | src/lib/stream/rc4/rc4.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/stream/rc4/rc4.cpp b/src/lib/stream/rc4/rc4.cpp index dcf4af241..096772314 100644 --- a/src/lib/stream/rc4/rc4.cpp +++ b/src/lib/stream/rc4/rc4.cpp @@ -7,7 +7,6 @@ #include <botan/internal/stream_utils.h> #include <botan/rc4.h> -#include <botan/internal/rounding.h> namespace Botan { @@ -73,7 +72,7 @@ void RC4::generate() void RC4::key_schedule(const byte key[], size_t length) { state.resize(256); - buffer.resize(round_up<size_t>(DEFAULT_BUFFERSIZE, 4)); + buffer.resize(256); position = X = Y = 0; |