aboutsummaryrefslogtreecommitdiff
path: root/src/gnsrecord/test_gnsrecord_crypto.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-02-03 09:25:12 +0100
committerMartin Schanzenbach <schanzen@gnunet.org>2022-02-03 09:25:12 +0100
commit112ef3796314122465f23215233d8b7dd7a15a0b (patch)
tree1e9f9c9861a840898613ef822d26fb375c4a56ad /src/gnsrecord/test_gnsrecord_crypto.c
parentad6bc2037ffee49f6df1a3ac87fa507581af2365 (diff)
downloadgnunet-112ef3796314122465f23215233d8b7dd7a15a0b.tar.gz
gnunet-112ef3796314122465f23215233d8b7dd7a15a0b.zip
GNS: Rework GNS block wire format
Diffstat (limited to 'src/gnsrecord/test_gnsrecord_crypto.c')
-rw-r--r--src/gnsrecord/test_gnsrecord_crypto.c12
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));