remove unneeded double initialization

This commit is contained in:
Markus Teich 2016-06-29 14:01:31 +02:00
parent 84e9d4fa34
commit 01aa30513d

View File

@ -623,8 +623,6 @@ smc_gen_keyshare (struct AuctionData *ad, size_t *buflen)
} }
proof1 = (struct proof_dl *)(ret + sizeof (struct ec_mpi)); 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); ad->x = gcry_mpi_new (0);
ec_skey_create (ad->x); ec_skey_create (ad->x);