summaryrefslogtreecommitdiff
path: root/src/gns/test_gns_revocation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/test_gns_revocation.c')
-rw-r--r--src/gns/test_gns_revocation.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gns/test_gns_revocation.c b/src/gns/test_gns_revocation.c
index 555e44a20..738bda318 100644
--- a/src/gns/test_gns_revocation.c
+++ b/src/gns/test_gns_revocation.c
@@ -104,7 +104,7 @@ shutdown_task (void *cls,
104 104
105static void 105static void
106on_lookup_result(void *cls, uint32_t rd_count, 106on_lookup_result(void *cls, uint32_t rd_count,
107 const struct GNUNET_NAMESTORE_RecordData *rd) 107 const struct GNUNET_GNSRECORD_Data *rd)
108{ 108{
109 struct in_addr a; 109 struct in_addr a;
110 int i; 110 int i;
@@ -216,7 +216,7 @@ do_check (void *cls,
216 GNUNET_CRYPTO_ecdsa_key_get_public (alice_key, &alice_pkey); 216 GNUNET_CRYPTO_ecdsa_key_get_public (alice_key, &alice_pkey);
217 GNUNET_CRYPTO_ecdsa_key_get_public (bob_key, &bob_pkey); 217 GNUNET_CRYPTO_ecdsa_key_get_public (bob_key, &bob_pkey);
218 218
219 struct GNUNET_NAMESTORE_RecordData rd; 219 struct GNUNET_GNSRECORD_Data rd;
220 char* ip = TEST_IP; 220 char* ip = TEST_IP;
221 struct in_addr *web = GNUNET_malloc(sizeof(struct in_addr)); 221 struct in_addr *web = GNUNET_malloc(sizeof(struct in_addr));
222 rd.expiration_time = UINT64_MAX; 222 rd.expiration_time = UINT64_MAX;
@@ -227,7 +227,7 @@ do_check (void *cls,
227 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode); 227 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode);
228 rd.data = &bob_hash; 228 rd.data = &bob_hash;
229 rd.record_type = GNUNET_GNSRECORD_TYPE_PKEY; 229 rd.record_type = GNUNET_GNSRECORD_TYPE_PKEY;
230 rd.flags = GNUNET_NAMESTORE_RF_NONE; 230 rd.flags = GNUNET_GNSRECORD_RF_NONE;
231 231
232 GNUNET_NAMESTORE_record_put_by_authority (namestore_handle, 232 GNUNET_NAMESTORE_record_put_by_authority (namestore_handle,
233 alice_key, 233 alice_key,