diff --git a/source/ak_belt_hash.c b/source/ak_belt_hash.c index baea61a70a3bb3c6c1335baec9251da70c27e023..f91a3f8ed5543f7d1f2234d8f5002e3876ce8234 100644 --- a/source/ak_belt_hash.c +++ b/source/ak_belt_hash.c @@ -132,7 +132,7 @@ static int ak_hash_context_belt_finalize(ak_pointer sctx, ak_uint64 lastBlock[8]; - while ak_hash_context_belt_update(sctx, in, (size /32)*32); + ak_hash_context_belt_update(sctx, in, (size /32)*32); if (ssize || !size) {