VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Crypto
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2020-06-26 01:13:33 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2020-06-26 01:22:10 +0200
commit4137c5e15bf3d784f3e6a84a1268f592910f9a67 (patch)
tree24697bd160a412c15aba64f16716c943fe781765 /src/Crypto
parent53070f8bb58e04f28d7e26ff7ddbac9307d01c96 (diff)
downloadVeraCrypt-4137c5e15bf3d784f3e6a84a1268f592910f9a67.tar.gz
VeraCrypt-4137c5e15bf3d784f3e6a84a1268f592910f9a67.zip
Whirlpool: Remove unused "num" variable affectation in WHIRLPOOL_add
Diffstat (limited to 'src/Crypto')
-rw-r--r--src/Crypto/Whirlpool.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Crypto/Whirlpool.c b/src/Crypto/Whirlpool.c
index 9452951e..98ba318d 100644
--- a/src/Crypto/Whirlpool.c
+++ b/src/Crypto/Whirlpool.c
@@ -947,7 +947,6 @@ void WHIRLPOOL_add(const unsigned char * input,
HashMultipleBlocks(ctx, dataBuf, 64);
input += (64-num);
len -= (64-num);
- num = 0;
// drop through and do the rest
}
else