aboutsummaryrefslogtreecommitdiff
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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gns/test_gns_revocation.c b/src/gns/test_gns_revocation.c
index e66655203..85da4a09a 100644
--- a/src/gns/test_gns_revocation.c
+++ b/src/gns/test_gns_revocation.c
@@ -130,7 +130,7 @@ on_lookup_result(void *cls, uint32_t rd_count,
130 for (i=0; i<rd_count; i++) 130 for (i=0; i<rd_count; i++)
131 { 131 {
132 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "type: %d\n", rd[i].record_type); 132 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "type: %d\n", rd[i].record_type);
133 if (rd[i].record_type == GNUNET_GNS_RECORD_A) 133 if (rd[i].record_type == GNUNET_DNSPARSER_TYPE_A)
134 { 134 {
135 memcpy(&a, rd[i].data, sizeof(a)); 135 memcpy(&a, rd[i].data, sizeof(a));
136 addr = inet_ntoa(a); 136 addr = inet_ntoa(a);
@@ -168,7 +168,7 @@ commence_testing (void *cls, int32_t success, const char *emsg)
168 return; 168 return;
169 } 169 }
170 170
171 GNUNET_GNS_lookup(gns_handle, TEST_DOMAIN, GNUNET_GNS_RECORD_A, 171 GNUNET_GNS_lookup(gns_handle, TEST_DOMAIN, GNUNET_DNSPARSER_TYPE_A,
172 GNUNET_NO, 172 GNUNET_NO,
173 NULL, 173 NULL,
174 &on_lookup_result, TEST_DOMAIN); 174 &on_lookup_result, TEST_DOMAIN);
@@ -225,7 +225,7 @@ do_check (void *cls,
225 225
226 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode); 226 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode);
227 rd.data = &bob_hash; 227 rd.data = &bob_hash;
228 rd.record_type = GNUNET_GNS_RECORD_PKEY; 228 rd.record_type = GNUNET_NAMESTORE_TYPE_PKEY;
229 rd.flags = GNUNET_NAMESTORE_RF_AUTHORITY; 229 rd.flags = GNUNET_NAMESTORE_RF_AUTHORITY;
230 230
231 GNUNET_NAMESTORE_record_put_by_authority (namestore_handle, 231 GNUNET_NAMESTORE_record_put_by_authority (namestore_handle,
@@ -253,7 +253,7 @@ do_check (void *cls,
253 NULL, 253 NULL,
254 NULL); 254 NULL);
255 rd.data_size = 0; 255 rd.data_size = 0;
256 rd.record_type = GNUNET_GNS_RECORD_REV; 256 rd.record_type = GNUNET_NAMESTORE_TYPE_REV;
257 257
258 GNUNET_NAMESTORE_record_put_by_authority (namestore_handle, 258 GNUNET_NAMESTORE_record_put_by_authority (namestore_handle,
259 bob_key, 259 bob_key,