remove unneeded double initialization
This commit is contained in:
parent
84e9d4fa34
commit
01aa30513d
2
crypto.c
2
crypto.c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user