From d5232f85fd4de6b1dabb704e86b40cf3ebc210f3 Mon Sep 17 00:00:00 2001 From: Javier Smooth Date: Mon, 27 Jul 2015 04:05:08 -0700 Subject: [PATCH] typo in previous commit --- src/crypto/slow-hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto/slow-hash.c b/src/crypto/slow-hash.c index 25c9415..a517a95 100644 --- a/src/crypto/slow-hash.c +++ b/src/crypto/slow-hash.c @@ -607,7 +607,7 @@ void cn_slow_hash(const void *data, size_t length, char *hash, int light) { xor_blocks(b, c); swap_blocks(b, c); copy_block(&long_state[j * AES_BLOCK_SIZE], c); - assert(j == e2i(a, MEMORY / (light?2:1) / AES_BLOCK_SIZE); + assert(j == e2i(a, MEMORY / (light?2:1) / AES_BLOCK_SIZE)); swap_blocks(a, b); /* Iteration 2 */ j = e2i(a, MEMORY / AES_BLOCK_SIZE,light);