diff options
Diffstat (limited to 'src/gns')
-rw-r--r-- | src/gns/test_gns_dht_delegated_lookup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gns/test_gns_dht_delegated_lookup.c b/src/gns/test_gns_dht_delegated_lookup.c index 84daf923b..65c9cfaeb 100644 --- a/src/gns/test_gns_dht_delegated_lookup.c +++ b/src/gns/test_gns_dht_delegated_lookup.c | |||
@@ -219,6 +219,7 @@ put_dht(void *cls, int32_t success, const char *emsg) | |||
219 | rd.data_size = sizeof(struct in_addr); | 219 | rd.data_size = sizeof(struct in_addr); |
220 | rd.data = web; | 220 | rd.data = web; |
221 | rd.record_type = GNUNET_DNSPARSER_TYPE_A; | 221 | rd.record_type = GNUNET_DNSPARSER_TYPE_A; |
222 | rd.flags = GNUNET_NAMESTORE_RF_AUTHORITY; | ||
222 | 223 | ||
223 | sig = GNUNET_NAMESTORE_create_signature(bob_key, GNUNET_TIME_UNIT_FOREVER_ABS, TEST_RECORD_NAME, | 224 | sig = GNUNET_NAMESTORE_create_signature(bob_key, GNUNET_TIME_UNIT_FOREVER_ABS, TEST_RECORD_NAME, |
224 | &rd, 1); | 225 | &rd, 1); |
@@ -329,6 +330,7 @@ do_lookup(void *cls, const struct GNUNET_PeerIdentity *id, | |||
329 | rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode); | 330 | rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode); |
330 | rd.data = &bob_hash; | 331 | rd.data = &bob_hash; |
331 | rd.record_type = GNUNET_GNS_RECORD_PKEY; | 332 | rd.record_type = GNUNET_GNS_RECORD_PKEY; |
333 | rd.flags = GNUNET_NAMESTORE_RF_AUTHORITY; | ||
332 | 334 | ||
333 | GNUNET_NAMESTORE_record_create (namestore_handle, | 335 | GNUNET_NAMESTORE_record_create (namestore_handle, |
334 | alice_key, | 336 | alice_key, |