diff options
Diffstat (limited to 'src/stream/turing/turing.cpp')
-rw-r--r-- | src/stream/turing/turing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stream/turing/turing.cpp b/src/stream/turing/turing.cpp index 810f65ca4..f0dd90ab6 100644 --- a/src/stream/turing/turing.cpp +++ b/src/stream/turing/turing.cpp @@ -222,7 +222,7 @@ u32bit Turing::fixedS(u32bit W) */ void Turing::key_schedule(const byte key[], u32bit length) { - K.create(length / 4); + K.resize(length / 4); for(u32bit j = 0; j != length; ++j) K[j/4] = (K[j/4] << 8) + key[j]; |