From b6399fa0f3a973a6454c1ca30dd22d2de1d421e4 Mon Sep 17 00:00:00 2001 From: Loup Vaillant Date: Tue, 19 Sep 2017 08:43:37 +0200 Subject: [PATCH] Removed redundant initialization --- dist/src/monocypher.c | 1 - 1 file changed, 1 deletion(-) 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 -- 2.47.3