From 01aa30513de10b06d422ca0b4887b0d5cf63a9ae Mon Sep 17 00:00:00 2001 From: Markus Teich Date: Wed, 29 Jun 2016 14:01:31 +0200 Subject: [PATCH] remove unneeded double initialization --- crypto.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/crypto.c b/crypto.c index 4ed9be8..9c2e272 100644 --- a/crypto.c +++ b/crypto.c @@ -623,8 +623,6 @@ smc_gen_keyshare (struct AuctionData *ad, size_t *buflen) } proof1 = (struct proof_dl *)(ret + sizeof (struct ec_mpi)); - for (uint16_t i = 0; i < ad->n; i++) - ad->y[i] = gcry_mpi_point_new (0); ad->x = gcry_mpi_new (0); ec_skey_create (ad->x);