diff options
Diffstat (limited to 'src/gnsrecord/perf_gnsrecord_crypto.c')
-rw-r--r-- | src/gnsrecord/perf_gnsrecord_crypto.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gnsrecord/perf_gnsrecord_crypto.c b/src/gnsrecord/perf_gnsrecord_crypto.c index d9a3c20cf..6b5f84235 100644 --- a/src/gnsrecord/perf_gnsrecord_crypto.c +++ b/src/gnsrecord/perf_gnsrecord_crypto.c | |||
@@ -90,12 +90,12 @@ run (void *cls, | |||
90 | start_time = GNUNET_TIME_absolute_get (); | 90 | start_time = GNUNET_TIME_absolute_get (); |
91 | for (unsigned int i = 0; i < ROUNDS; i++) | 91 | for (unsigned int i = 0; i < ROUNDS; i++) |
92 | { | 92 | { |
93 | GNUNET_assert (NULL != (block = | 93 | GNUNET_assert (GNUNET_OK == GNUNET_GNSRECORD_block_create2 (&privkey, |
94 | GNUNET_GNSRECORD_block_create2 (&privkey, | ||
95 | expire, | 94 | expire, |
96 | s_name, | 95 | s_name, |
97 | s_rd, | 96 | s_rd, |
98 | RECORDS))); | 97 | RECORDS, |
98 | &block)); | ||
99 | GNUNET_GNSRECORD_query_from_private_key (&privkey, | 99 | GNUNET_GNSRECORD_query_from_private_key (&privkey, |
100 | s_name, | 100 | s_name, |
101 | &query); | 101 | &query); |