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 f4149a398..6f9690c99 100644
--- a/src/util/gnunet-scrypt.c
+++ b/src/util/gnunet-scrypt.c
@@ -144,7 +144,7 @@ find_proof (void *cls)
144 if (nse_work_required <= count_leading_zeroes (&result)) 144 if (nse_work_required <= count_leading_zeroes (&result))
145 { 145 {
146 proof = counter; 146 proof = counter;
147 FPRINTF (stdout, 147 fprintf (stdout,
148 "Proof of work found: %llu!\n", 148 "Proof of work found: %llu!\n",
149 (unsigned long long) proof); 149 (unsigned long long) proof);
150 GNUNET_SCHEDULER_shutdown (); 150 GNUNET_SCHEDULER_shutdown ();
@@ -236,7 +236,7 @@ run (void *cls,
236 GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Private Key file: %s\n", pkfn); 236 GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Private Key file: %s\n", pkfn);
237 if (NULL == (pk = GNUNET_CRYPTO_eddsa_key_create_from_file (pkfn))) 237 if (NULL == (pk = GNUNET_CRYPTO_eddsa_key_create_from_file (pkfn)))
238 { 238 {
239 FPRINTF (stderr, _ ("Loading hostkey from `%s' failed.\n"), pkfn); 239 fprintf (stderr, _ ("Loading hostkey from `%s' failed.\n"), pkfn);
240 GNUNET_free (pkfn); 240 GNUNET_free (pkfn);
241 return; 241 return;
242 } 242 }