diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-05-01 08:26:15 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-05-01 08:26:15 +0000 |
commit | a3e4ea39cd0c5f1442c9fece58a521ea3c28fdf4 (patch) | |
tree | 6a1a6b4b0ccc9e06420614408df2caf75b9ec57f /src | |
parent | 5412caeb1f05aa1083cc3858545a53238dc431ed (diff) | |
download | gnunet-a3e4ea39cd0c5f1442c9fece58a521ea3c28fdf4.tar.gz gnunet-a3e4ea39cd0c5f1442c9fece58a521ea3c28fdf4.zip |
-fix sizeof() arg
Diffstat (limited to 'src')
-rw-r--r-- | src/util/perf_crypto_asymmetric.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/perf_crypto_asymmetric.c b/src/util/perf_crypto_asymmetric.c index 147c58b1c..fe79757d5 100644 --- a/src/util/perf_crypto_asymmetric.c +++ b/src/util/perf_crypto_asymmetric.c | |||
@@ -75,7 +75,8 @@ main (int argc, char *argv[]) | |||
75 | sig[i].purp.size = htonl (sizeof (struct GNUNET_CRYPTO_EccSignaturePurpose) | 75 | sig[i].purp.size = htonl (sizeof (struct GNUNET_CRYPTO_EccSignaturePurpose) |
76 | + sizeof (struct GNUNET_HashCode)); | 76 | + sizeof (struct GNUNET_HashCode)); |
77 | GNUNET_CRYPTO_random_block (GNUNET_CRYPTO_QUALITY_WEAK, | 77 | GNUNET_CRYPTO_random_block (GNUNET_CRYPTO_QUALITY_WEAK, |
78 | &sig[i].h, sizeof (&sig[0].h)); | 78 | &sig[i].h, |
79 | sizeof (sig[i].h)); | ||
79 | } | 80 | } |
80 | log_duration ("", "Init"); | 81 | log_duration ("", "Init"); |
81 | 82 | ||