From 8215959cfd17a599bf78be64833d115c921602d2 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 5 Feb 2013 11:39:23 +0100 Subject: derp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- c/sha3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c') diff --git a/c/sha3.c b/c/sha3.c index b3c06e6..5f5a25b 100644 --- a/c/sha3.c +++ b/c/sha3.c @@ -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); -- cgit v1.2.3-70-g09d2