diff options
Diffstat (limited to 'src/block/rc5/rc5.cpp')
-rw-r--r-- | src/block/rc5/rc5.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/block/rc5/rc5.cpp b/src/block/rc5/rc5.cpp index 4bfa27ea0..0bd596b10 100644 --- a/src/block/rc5/rc5.cpp +++ b/src/block/rc5/rc5.cpp @@ -109,7 +109,7 @@ RC5::RC5(u32bit r) : BlockCipher(8, 1, 32), ROUNDS(r) { if(ROUNDS < 8 || ROUNDS > 32 || (ROUNDS % 4 != 0)) throw Invalid_Argument(name() + ": Invalid number of rounds"); - S.create(2*ROUNDS + 2); + S.resize(2*ROUNDS + 2); } } |