diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-02-05 11:39:23 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-02-05 11:39:23 +0100 |
commit | 8215959cfd17a599bf78be64833d115c921602d2 (patch) | |
tree | 9f70987ffec7f16be1bd453b0548d7ee687656c2 /c | |
parent | port `M.length` (diff) | |
download | sha3sum-8215959cfd17a599bf78be64833d115c921602d2.tar.gz sha3sum-8215959cfd17a599bf78be64833d115c921602d2.tar.bz2 sha3sum-8215959cfd17a599bf78be64833d115c921602d2.tar.xz |
derp
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'c')
-rw-r--r-- | c/sha3.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -396,7 +396,7 @@ extern void update(byte* msg, long msglen) long i; if (mptr + msglen > mlen) - System.arraycopy(M, 0, M = new byte[(mlen += msglen) << 1], 0, mptr); + System.arraycopy(M, 0, M = new byte[mlen = mlen + msglen << 1], 0, mptr); arraycopy(msg, 0, M, mptr, msglen); long len = mptr += msglen; len -= len % ((r * b) >> 3); |