aboutsummaryrefslogtreecommitdiff
path: root/src/util/gnunet-scrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/gnunet-scrypt.c')
-rw-r--r--src/util/gnunet-scrypt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/gnunet-scrypt.c b/src/util/gnunet-scrypt.c
index b6a9969da..6e3fcd33a 100644
--- a/src/util/gnunet-scrypt.c
+++ b/src/util/gnunet-scrypt.c
@@ -40,7 +40,7 @@ static struct GNUNET_CRYPTO_EddsaPublicKey pub;
40 40
41static uint64_t proof; 41static uint64_t proof;
42 42
43static GNUNET_SCHEDULER_TaskIdentifier proof_task; 43static struct GNUNET_SCHEDULER_Task * proof_task;
44 44
45static const struct GNUNET_CONFIGURATION_Handle *cfg; 45static const struct GNUNET_CONFIGURATION_Handle *cfg;
46 46
@@ -128,7 +128,7 @@ find_proof (void *cls,
128 return; 128 return;
129 } 129 }
130 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Got Proof of Work %llu\n", proof); 130 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Got Proof of Work %llu\n", proof);
131 proof_task = GNUNET_SCHEDULER_NO_TASK; 131 proof_task = NULL;
132 memcpy (&buf[sizeof (uint64_t)], &pub, 132 memcpy (&buf[sizeof (uint64_t)], &pub,
133 sizeof (struct GNUNET_CRYPTO_EddsaPublicKey)); 133 sizeof (struct GNUNET_CRYPTO_EddsaPublicKey));
134 i = 0; 134 i = 0;