diff options
Diffstat (limited to 'src/gnsrecord/test_gnsrecord_crypto.c')
-rw-r--r-- | src/gnsrecord/test_gnsrecord_crypto.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gnsrecord/test_gnsrecord_crypto.c b/src/gnsrecord/test_gnsrecord_crypto.c index 9e5a1aa7e..ee14fa904 100644 --- a/src/gnsrecord/test_gnsrecord_crypto.c +++ b/src/gnsrecord/test_gnsrecord_crypto.c | |||
@@ -123,12 +123,12 @@ test_with_type (struct GNUNET_IDENTITY_PrivateKey *privkey) | |||
123 | s_rd = create_record (RECORDS); | 123 | s_rd = create_record (RECORDS); |
124 | 124 | ||
125 | /* Create block */ | 125 | /* Create block */ |
126 | GNUNET_assert (NULL != (block = | 126 | GNUNET_assert (GNUNET_OK == GNUNET_GNSRECORD_block_create (privkey, |
127 | GNUNET_GNSRECORD_block_create (privkey, | 127 | expire, |
128 | expire, | 128 | s_name, |
129 | s_name, | 129 | s_rd, |
130 | s_rd, | 130 | RECORDS, |
131 | RECORDS))); | 131 | &block)); |
132 | GNUNET_assert (GNUNET_OK == | 132 | GNUNET_assert (GNUNET_OK == |
133 | GNUNET_GNSRECORD_query_from_block (block, | 133 | GNUNET_GNSRECORD_query_from_block (block, |
134 | &query_block)); | 134 | &query_block)); |