diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-10-05 12:03:50 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-10-05 12:03:50 +0000 |
commit | ee9df43928529ba3cfc860e52f07bf0191ebd1b5 (patch) | |
tree | f0cc9b46c0a4e6173e4bdc54d75bc80408b652cb /src/secretsharing | |
parent | 96795581f540c468ed2145bbf9250e2c7d8a8b24 (diff) |
-eliminate dead code
Diffstat (limited to 'src/secretsharing')
-rw-r--r-- | src/secretsharing/gnunet-service-secretsharing.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/secretsharing/gnunet-service-secretsharing.c b/src/secretsharing/gnunet-service-secretsharing.c index c978711f65..ebf0789826 100644 --- a/src/secretsharing/gnunet-service-secretsharing.c +++ b/src/secretsharing/gnunet-service-secretsharing.c @@ -1381,20 +1381,16 @@ keygen_reveal_get_exp_preshare (struct KeygenSession *ks, const struct GNUNET_SECRETSHARING_KeygenRevealData *d, unsigned int idx) { - unsigned char *pos; gcry_mpi_t exp_preshare; struct GNUNET_SECRETSHARING_FairEncryption *fe; GNUNET_assert (idx < ks->num_peers); - fe = keygen_reveal_get_enc_preshare (ks, d, idx); - pos += GNUNET_SECRETSHARING_ELGAMAL_BITS / 8 * idx; GNUNET_CRYPTO_mpi_scan_unsigned (&exp_preshare, fe->h, GNUNET_SECRETSHARING_ELGAMAL_BITS / 8); return exp_preshare; } - static void keygen_round2_new_element (void *cls, const struct GNUNET_SET_Element *element) |