diff options
Diffstat (limited to 'src/crypto/groestl.c')
-rw-r--r-- | src/crypto/groestl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/crypto/groestl.c b/src/crypto/groestl.c index e1c89cc3b..84bfb2947 100644 --- a/src/crypto/groestl.c +++ b/src/crypto/groestl.c @@ -204,10 +204,9 @@ static void OutputTransformation(hashState *ctx) { /* initialise context */ static void Init(hashState* ctx) { - int i = 0; /* allocate memory for state and data buffer */ - for(;i<(SIZE512/sizeof(uint32_t));i++) + for(unsigned i = 0; i < (SIZE512/sizeof(uint32_t)); i++) { ctx->chaining[i] = 0; } |