diff options
Diffstat (limited to 'src/revocation/revocation_api.c')
-rw-r--r-- | src/revocation/revocation_api.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/revocation/revocation_api.c b/src/revocation/revocation_api.c index c2aafd254..c9bb2543a 100644 --- a/src/revocation/revocation_api.c +++ b/src/revocation/revocation_api.c | |||
@@ -368,13 +368,13 @@ GNUNET_REVOCATION_check_pow (const struct GNUNET_CRYPTO_EcdsaPublicKey *key, | |||
368 | 368 | ||
369 | ts_nbo = GNUNET_TIME_absolute_hton (*ts); | 369 | ts_nbo = GNUNET_TIME_absolute_hton (*ts); |
370 | 370 | ||
371 | GNUNET_memcpy (buf, &pow, sizeof(pow)) ; | 371 | GNUNET_memcpy (buf, &pow, sizeof(pow)); |
372 | GNUNET_memcpy (&buf[sizeof(pow)], key, | 372 | GNUNET_memcpy (&buf[sizeof(pow)], |
373 | sizeof(struct GNUNET_CRYPTO_EcdsaPublicKey)); | ||
374 | GNUNET_memcpy (&buf[sizeof(pow) + sizeof (struct GNUNET_TIME_AbsoluteNBO)], | ||
375 | &ts_nbo, | 373 | &ts_nbo, |
376 | sizeof (struct GNUNET_TIME_AbsoluteNBO)); | 374 | sizeof (struct GNUNET_TIME_AbsoluteNBO)); |
377 | 375 | GNUNET_memcpy (&buf[sizeof(pow) + sizeof (struct GNUNET_TIME_AbsoluteNBO)], | |
376 | key, | ||
377 | sizeof(struct GNUNET_CRYPTO_EcdsaPublicKey)); | ||
378 | GNUNET_CRYPTO_pow_hash ("gnunet-revocation-proof-of-work", | 378 | GNUNET_CRYPTO_pow_hash ("gnunet-revocation-proof-of-work", |
379 | buf, | 379 | buf, |
380 | sizeof(buf), | 380 | sizeof(buf), |