diff options
Diffstat (limited to 'src/util')
-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 | ||