aboutsummaryrefslogtreecommitdiff
path: root/src/gns
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2012-07-18 15:26:39 +0000
committerMartin Schanzenbach <mschanzenbach@posteo.de>2012-07-18 15:26:39 +0000
commitc5222354674ef3b029b17d4b961c46ff485d3bec (patch)
treefc6101dc61cafe954631b9f22ae0cf7dca67d37c /src/gns
parente3c1b801f236ea6a513d42c0b104ef0ac30de635 (diff)
downloadgnunet-c5222354674ef3b029b17d4b961c46ff485d3bec.tar.gz
gnunet-c5222354674ef3b029b17d4b961c46ff485d3bec.zip
-fix
Diffstat (limited to 'src/gns')
-rw-r--r--src/gns/test_gns_dht_delegated_lookup.c2
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,