aboutsummaryrefslogtreecommitdiff
path: root/src/secretsharing
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-07-06 15:58:41 +0000
committerChristian Grothoff <christian@grothoff.org>2016-07-06 15:58:41 +0000
commit4f80d8c5beb2c2106ce1b0686e9f29449d744832 (patch)
tree7ac921a889e7525b439f130374d60a47cf854ac3 /src/secretsharing
parent3d7bae58c4b9b128e6000a2fe1fe65595235bb14 (diff)
misc minor fixes
Diffstat (limited to 'src/secretsharing')
-rw-r--r--src/secretsharing/gnunet-service-secretsharing.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/secretsharing/gnunet-service-secretsharing.c b/src/secretsharing/gnunet-service-secretsharing.c
index 660db3b6c9..b97b6f62ab 100644
--- a/src/secretsharing/gnunet-service-secretsharing.c
+++ b/src/secretsharing/gnunet-service-secretsharing.c
@@ -605,6 +605,7 @@ decrypt_session_destroy (struct DecryptSession *ds)
GNUNET_free (ds);
}
+
static void
keygen_info_destroy (struct KeygenPeerInfo *info)
{
@@ -621,7 +622,7 @@ keygen_info_destroy (struct KeygenPeerInfo *info)
if (NULL != info->preshare_commitment)
{
gcry_mpi_release (info->preshare_commitment);
- info->presecret_commitment = NULL;
+ info->preshare_commitment = NULL;
}
}