From: Loup Vaillant Date: Tue, 19 Sep 2017 06:43:37 +0000 (+0200) Subject: Removed redundant initialization X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=b6399fa0f3a973a6454c1ca30dd22d2de1d421e4;p=Monocypher.git Removed redundant initialization --- diff --git a/dist/src/monocypher.c b/dist/src/monocypher.c index f95f4fd..f9de62b 100644 --- a/dist/src/monocypher.c +++ b/dist/src/monocypher.c @@ -544,7 +544,6 @@ void crypto_blake2b_general_init(crypto_blake2b_ctx *ctx, size_t hash_size, ctx->input_offset[0] = 0; // begining of the input, no offset ctx->input_offset[1] = 0; // begining of the input, no offset - ctx->input_idx = 0; // buffer is empty ctx->hash_size = hash_size; // remember the hash size we want blake2b_reset_input(ctx); // clear the input buffer