diff options
Diffstat (limited to 'src/revocation/revocation_api.c')
-rw-r--r-- | src/revocation/revocation_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/revocation/revocation_api.c b/src/revocation/revocation_api.c index 57431f250..0b9bc4ea6 100644 --- a/src/revocation/revocation_api.c +++ b/src/revocation/revocation_api.c | |||
@@ -386,8 +386,8 @@ GNUNET_REVOCATION_check_pow (const struct GNUNET_CRYPTO_EcdsaPublicKey *key, | |||
386 | sizeof (pow)] GNUNET_ALIGN; | 386 | sizeof (pow)] GNUNET_ALIGN; |
387 | struct GNUNET_HashCode result; | 387 | struct GNUNET_HashCode result; |
388 | 388 | ||
389 | memcpy (buf, &pow, sizeof (pow)); | 389 | GNUNET_memcpy (buf, &pow, sizeof (pow)); |
390 | memcpy (&buf[sizeof (pow)], key, | 390 | GNUNET_memcpy (&buf[sizeof (pow)], key, |
391 | sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey)); | 391 | sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey)); |
392 | pow_hash (buf, sizeof (buf), &result); | 392 | pow_hash (buf, sizeof (buf), &result); |
393 | return (count_leading_zeroes (&result) >= | 393 | return (count_leading_zeroes (&result) >= |