aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_simple_zkey_lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/test_gns_simple_zkey_lookup.c')
-rw-r--r--src/gns/test_gns_simple_zkey_lookup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gns/test_gns_simple_zkey_lookup.c b/src/gns/test_gns_simple_zkey_lookup.c
index 6e8ec9ff4..6907362b8 100644
--- a/src/gns/test_gns_simple_zkey_lookup.c
+++ b/src/gns/test_gns_simple_zkey_lookup.c
@@ -105,7 +105,7 @@ shutdown_task (void *cls,
105 105
106static void 106static void
107on_lookup_result(void *cls, uint32_t rd_count, 107on_lookup_result(void *cls, uint32_t rd_count,
108 const struct GNUNET_NAMESTORE_RecordData *rd) 108 const struct GNUNET_GNSRECORD_Data *rd)
109{ 109{
110 struct in_addr a; 110 struct in_addr a;
111 int i; 111 int i;
@@ -233,7 +233,7 @@ do_check (void *cls,
233 GNUNET_CRYPTO_ecdsa_key_get_public (alice_key, &alice_pkey); 233 GNUNET_CRYPTO_ecdsa_key_get_public (alice_key, &alice_pkey);
234 GNUNET_CRYPTO_ecdsa_key_get_public (bob_key, &bob_pkey); 234 GNUNET_CRYPTO_ecdsa_key_get_public (bob_key, &bob_pkey);
235 235
236 struct GNUNET_NAMESTORE_RecordData rd; 236 struct GNUNET_GNSRECORD_Data rd;
237 char* ip = TEST_IP; 237 char* ip = TEST_IP;
238 struct in_addr *web = GNUNET_malloc(sizeof(struct in_addr)); 238 struct in_addr *web = GNUNET_malloc(sizeof(struct in_addr));
239 rd.expiration_time = UINT64_MAX; 239 rd.expiration_time = UINT64_MAX;
@@ -244,7 +244,7 @@ do_check (void *cls,
244 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode); 244 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode);
245 rd.data = &bob_hash; 245 rd.data = &bob_hash;
246 rd.record_type = GNUNET_GNSRECORD_TYPE_PKEY; 246 rd.record_type = GNUNET_GNSRECORD_TYPE_PKEY;
247 rd.flags = GNUNET_NAMESTORE_RF_NONE; 247 rd.flags = GNUNET_GNSRECORD_RF_NONE;
248 248
249 GNUNET_NAMESTORE_record_put_by_authority (namestore_handle, 249 GNUNET_NAMESTORE_record_put_by_authority (namestore_handle,
250 alice_key, 250 alice_key,