diff options
Diffstat (limited to 'src/nse/gnunet-service-nse.c')
-rw-r--r-- | src/nse/gnunet-service-nse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nse/gnunet-service-nse.c b/src/nse/gnunet-service-nse.c index 6a7248cb5..a396cf9cb 100644 --- a/src/nse/gnunet-service-nse.c +++ b/src/nse/gnunet-service-nse.c | |||
@@ -826,7 +826,7 @@ check_proof_of_work (const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *pkey, | |||
826 | uint64_t val) | 826 | uint64_t val) |
827 | { | 827 | { |
828 | char buf[sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded) + | 828 | char buf[sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded) + |
829 | sizeof (val)]; | 829 | sizeof (val)] GNUNET_ALIGN; |
830 | GNUNET_HashCode result; | 830 | GNUNET_HashCode result; |
831 | 831 | ||
832 | memcpy (buf, &val, sizeof (val)); | 832 | memcpy (buf, &val, sizeof (val)); |
@@ -871,7 +871,7 @@ find_proof (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
871 | #define ROUND_SIZE 10 | 871 | #define ROUND_SIZE 10 |
872 | uint64_t counter; | 872 | uint64_t counter; |
873 | char buf[sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded) + | 873 | char buf[sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded) + |
874 | sizeof (uint64_t)]; | 874 | sizeof (uint64_t)] GNUNET_ALIGN; |
875 | GNUNET_HashCode result; | 875 | GNUNET_HashCode result; |
876 | unsigned int i; | 876 | unsigned int i; |
877 | 877 | ||