aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gns/gnunet-service-gns_resolver.c1
-rw-r--r--src/gns/plugin_block_gns.c12
-rw-r--r--src/gns/test_gns_cname_lookup.c2
-rw-r--r--src/gns/test_gns_dht_threepeer.c6
-rw-r--r--src/gns/test_gns_max_queries.c2
-rw-r--r--src/gns/test_gns_ns_lookup.c2
-rw-r--r--src/gns/test_gns_pseu_shorten.c21
-rw-r--r--src/gns/test_gns_revocation.c2
-rw-r--r--src/gns/test_gns_simple_delegated_lookup.c2
-rw-r--r--src/gns/test_gns_simple_get_authority.c2
-rw-r--r--src/gns/test_gns_simple_lookup.c2
-rw-r--r--src/gns/test_gns_simple_mx_lookup.c2
-rw-r--r--src/gns/test_gns_simple_shorten.c2
-rw-r--r--src/gns/test_gns_simple_zkey_lookup.c2
14 files changed, 36 insertions, 24 deletions
diff --git a/src/gns/gnunet-service-gns_resolver.c b/src/gns/gnunet-service-gns_resolver.c
index 16d6126cb..822c84fc3 100644
--- a/src/gns/gnunet-service-gns_resolver.c
+++ b/src/gns/gnunet-service-gns_resolver.c
@@ -1396,6 +1396,7 @@ handle_dns_resolver (void *cls,
1396 } 1396 }
1397 1397
1398 rd.expiration_time = UINT64_MAX; /* FIXME: should probably pick something shorter */ 1398 rd.expiration_time = UINT64_MAX; /* FIXME: should probably pick something shorter */
1399 rd.flags = 0;
1399 1400
1400 finish_lookup (rh, rlh, 1, &rd); 1401 finish_lookup (rh, rlh, 1, &rd);
1401 free_resolver_handle (rh); 1402 free_resolver_handle (rh);
diff --git a/src/gns/plugin_block_gns.c b/src/gns/plugin_block_gns.c
index f1888c71a..637467a5c 100644
--- a/src/gns/plugin_block_gns.c
+++ b/src/gns/plugin_block_gns.c
@@ -136,7 +136,7 @@ block_plugin_gns_evaluate (void *cls, enum GNUNET_BLOCK_Type type,
136 struct GNUNET_NAMESTORE_RecordData rd[rd_count]; 136 struct GNUNET_NAMESTORE_RecordData rd[rd_count];
137 unsigned int i; 137 unsigned int i;
138 uint64_t exp = UINT64_MAX; 138 uint64_t exp = UINT64_MAX;
139 struct GNUNET_TIME_Absolute et; 139 struct GNUNET_TIME_Absolute et = GNUNET_TIME_UNIT_FOREVER_ABS;
140 140
141 if (GNUNET_SYSERR == GNUNET_NAMESTORE_records_deserialize (rd_len, 141 if (GNUNET_SYSERR == GNUNET_NAMESTORE_records_deserialize (rd_len,
142 rd_data, 142 rd_data,
@@ -158,7 +158,8 @@ block_plugin_gns_evaluate (void *cls, enum GNUNET_BLOCK_Type type,
158 GNUNET_break (0 == (rd[i].flags & GNUNET_NAMESTORE_RF_RELATIVE_EXPIRATION)); 158 GNUNET_break (0 == (rd[i].flags & GNUNET_NAMESTORE_RF_RELATIVE_EXPIRATION));
159 exp = GNUNET_MIN (exp, rd[i].expiration_time); 159 exp = GNUNET_MIN (exp, rd[i].expiration_time);
160 GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, 160 GNUNET_log(GNUNET_ERROR_TYPE_DEBUG,
161 "Got record of size %d\n", rd[i].data_size); 161 "Got record of size %d expiration %u\n",
162 rd[i].data_size, rd[i].expiration_time);
162 if ((record_xquery != 0) 163 if ((record_xquery != 0)
163 && (rd[i].record_type == record_xquery)) 164 && (rd[i].record_type == record_xquery))
164 { 165 {
@@ -168,8 +169,8 @@ block_plugin_gns_evaluate (void *cls, enum GNUNET_BLOCK_Type type,
168 et.abs_value = exp; 169 et.abs_value = exp;
169 170
170 GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, 171 GNUNET_log(GNUNET_ERROR_TYPE_DEBUG,
171 "Verifying signature of %d records for name %s\n", 172 "Verifying signature of %d records for name %s with expiration of %u\n",
172 rd_count, name); 173 rd_count, name, et.abs_value);
173 174
174 if (GNUNET_OK != GNUNET_NAMESTORE_verify_signature (&nrb->public_key, 175 if (GNUNET_OK != GNUNET_NAMESTORE_verify_signature (&nrb->public_key,
175 et, 176 et,
@@ -178,7 +179,8 @@ block_plugin_gns_evaluate (void *cls, enum GNUNET_BLOCK_Type type,
178 rd, 179 rd,
179 &nrb->signature)) 180 &nrb->signature))
180 { 181 {
181 GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "Signature invalid for name %s\n"); 182 GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "Signature invalid for %s\n", name);
183 GNUNET_break_op (0);
182 return GNUNET_BLOCK_EVALUATION_RESULT_INVALID; 184 return GNUNET_BLOCK_EVALUATION_RESULT_INVALID;
183 } 185 }
184 } 186 }
diff --git a/src/gns/test_gns_cname_lookup.c b/src/gns/test_gns_cname_lookup.c
index ed04fbcd0..a925e529d 100644
--- a/src/gns/test_gns_cname_lookup.c
+++ b/src/gns/test_gns_cname_lookup.c
@@ -269,7 +269,7 @@ do_lookup(void *cls, const struct GNUNET_PeerIdentity *id,
269 rd.data_size = sizeof(struct in_addr); 269 rd.data_size = sizeof(struct in_addr);
270 rd.data = web; 270 rd.data = web;
271 rd.record_type = GNUNET_DNSPARSER_TYPE_A; 271 rd.record_type = GNUNET_DNSPARSER_TYPE_A;
272 rd.flags = 0; 272 rd.flags = GNUNET_NAMESTORE_RF_AUTHORITY;
273 273
274 GNUNET_NAMESTORE_record_create (namestore_handle, 274 GNUNET_NAMESTORE_record_create (namestore_handle,
275 alice_key, 275 alice_key,
diff --git a/src/gns/test_gns_dht_threepeer.c b/src/gns/test_gns_dht_threepeer.c
index cfb8a3b4c..09dc00485 100644
--- a/src/gns/test_gns_dht_threepeer.c
+++ b/src/gns/test_gns_dht_threepeer.c
@@ -327,7 +327,7 @@ daemon_started (void *cls, const struct GNUNET_PeerIdentity *id,
327 rd.data_size = sizeof(struct in_addr); 327 rd.data_size = sizeof(struct in_addr);
328 rd.data = web; 328 rd.data = web;
329 rd.record_type = GNUNET_GNS_RECORD_TYPE_A; 329 rd.record_type = GNUNET_GNS_RECORD_TYPE_A;
330 rd.flags = 0; 330 rd.flags = GNUNET_NAMESTORE_RF_AUTHORITY;
331 331
332 GNUNET_NAMESTORE_record_create (ns, key, "www", &rd, NULL, NULL); 332 GNUNET_NAMESTORE_record_create (ns, key, "www", &rd, NULL, NULL);
333 333
@@ -368,7 +368,7 @@ daemon_started (void *cls, const struct GNUNET_PeerIdentity *id,
368 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode); 368 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode);
369 rd.data = &dave_hash; 369 rd.data = &dave_hash;
370 rd.record_type = GNUNET_GNS_RECORD_PKEY; 370 rd.record_type = GNUNET_GNS_RECORD_PKEY;
371 rd.flags = 0; 371 rd.flags = GNUNET_NAMESTORE_RF_AUTHORITY;
372 372
373 GNUNET_NAMESTORE_record_create (ns, key, "buddy", &rd, ns_create_cont, ns); 373 GNUNET_NAMESTORE_record_create (ns, key, "buddy", &rd, ns_create_cont, ns);
374 374
@@ -402,7 +402,7 @@ daemon_started (void *cls, const struct GNUNET_PeerIdentity *id,
402 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode); 402 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode);
403 rd.data = &bob_hash; 403 rd.data = &bob_hash;
404 rd.record_type = GNUNET_GNS_RECORD_PKEY; 404 rd.record_type = GNUNET_GNS_RECORD_PKEY;
405 rd.flags = 0; 405 rd.flags = GNUNET_NAMESTORE_RF_AUTHORITY;
406 406
407 GNUNET_NAMESTORE_record_create (ns, key, "bob", &rd, ns_create_cont, ns); 407 GNUNET_NAMESTORE_record_create (ns, key, "bob", &rd, ns_create_cont, ns);
408 408
diff --git a/src/gns/test_gns_max_queries.c b/src/gns/test_gns_max_queries.c
index 5486dfb2c..6902a37b0 100644
--- a/src/gns/test_gns_max_queries.c
+++ b/src/gns/test_gns_max_queries.c
@@ -278,7 +278,7 @@ do_lookup(void *cls, const struct GNUNET_PeerIdentity *id,
278 rd.data_size = sizeof(struct in_addr); 278 rd.data_size = sizeof(struct in_addr);
279 rd.data = web; 279 rd.data = web;
280 rd.record_type = GNUNET_DNSPARSER_TYPE_A; 280 rd.record_type = GNUNET_DNSPARSER_TYPE_A;
281 rd.flags = 0; 281 rd.flags = GNUNET_NAMESTORE_RF_AUTHORITY;
282 282
283 GNUNET_NAMESTORE_record_create (namestore_handle, 283 GNUNET_NAMESTORE_record_create (namestore_handle,
284 alice_key, 284 alice_key,
diff --git a/src/gns/test_gns_ns_lookup.c b/src/gns/test_gns_ns_lookup.c
index a46b45fc9..33797a55a 100644
--- a/src/gns/test_gns_ns_lookup.c
+++ b/src/gns/test_gns_ns_lookup.c
@@ -323,7 +323,7 @@ do_lookup(void *cls, const struct GNUNET_PeerIdentity *id,
323 rd.data_size = sizeof(struct in_addr); 323 rd.data_size = sizeof(struct in_addr);
324 rd.data = ns; 324 rd.data = ns;
325 rd.record_type = GNUNET_DNSPARSER_TYPE_A; 325 rd.record_type = GNUNET_DNSPARSER_TYPE_A;
326 rd.flags = 0; 326 rd.flags = GNUNET_NAMESTORE_RF_AUTHORITY;
327 327
328 328
329 GNUNET_NAMESTORE_record_create (namestore_handle, 329 GNUNET_NAMESTORE_record_create (namestore_handle,
diff --git a/src/gns/test_gns_pseu_shorten.c b/src/gns/test_gns_pseu_shorten.c
index cedf3930d..0f1150bab 100644
--- a/src/gns/test_gns_pseu_shorten.c
+++ b/src/gns/test_gns_pseu_shorten.c
@@ -289,7 +289,7 @@ put_pseu_dht(void *cls, int success)
289 struct GNUNET_CRYPTO_RsaSignature *sig; 289 struct GNUNET_CRYPTO_RsaSignature *sig;
290 struct GNUNET_NAMESTORE_RecordData rd; 290 struct GNUNET_NAMESTORE_RecordData rd;
291 291
292 rd.expiration_time = UINT64_MAX; 292 rd.expiration_time = GNUNET_TIME_UNIT_FOREVER_ABS.abs_value;
293 rd.data_size = strlen(TEST_PSEU_ALICE)+1; 293 rd.data_size = strlen(TEST_PSEU_ALICE)+1;
294 rd.data = TEST_PSEU_ALICE; 294 rd.data = TEST_PSEU_ALICE;
295 rd.record_type = GNUNET_GNS_RECORD_PSEU; 295 rd.record_type = GNUNET_GNS_RECORD_PSEU;
@@ -299,6 +299,15 @@ put_pseu_dht(void *cls, int success)
299 GNUNET_TIME_UNIT_FOREVER_ABS, 299 GNUNET_TIME_UNIT_FOREVER_ABS,
300 "+", 300 "+",
301 &rd, 1); 301 &rd, 1);
302
303 GNUNET_assert (NULL != sig);
304
305 /*GNUNET_assert (GNUNET_OK == GNUNET_NAMESTORE_verify_signature (&alice_pkey,
306 GNUNET_TIME_UNIT_FOREVER_ABS,
307 "+",
308 1,
309 &rd,
310 sig));*/
302 rd_payload_length = GNUNET_NAMESTORE_records_get_size (1, &rd); 311 rd_payload_length = GNUNET_NAMESTORE_records_get_size (1, &rd);
303 nrb = GNUNET_malloc(rd_payload_length + strlen("+") + 1 312 nrb = GNUNET_malloc(rd_payload_length + strlen("+") + 1
304 + sizeof(struct GNSNameRecordBlock)); 313 + sizeof(struct GNSNameRecordBlock));
@@ -375,7 +384,7 @@ put_www_dht(void *cls, int success)
375 rd.data_size = sizeof(struct in_addr); 384 rd.data_size = sizeof(struct in_addr);
376 rd.data = web; 385 rd.data = web;
377 rd.record_type = GNUNET_DNSPARSER_TYPE_A; 386 rd.record_type = GNUNET_DNSPARSER_TYPE_A;
378 rd.flags = 0; 387 rd.flags = GNUNET_NAMESTORE_RF_AUTHORITY;
379 388
380 sig = GNUNET_NAMESTORE_create_signature(alice_key, 389 sig = GNUNET_NAMESTORE_create_signature(alice_key,
381 GNUNET_TIME_UNIT_FOREVER_ABS, 390 GNUNET_TIME_UNIT_FOREVER_ABS,
@@ -453,7 +462,7 @@ put_pkey_dht(void *cls, int32_t success, const char *emsg)
453 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode); 462 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode);
454 rd.data = &alice_hash; 463 rd.data = &alice_hash;
455 rd.record_type = GNUNET_GNS_RECORD_PKEY; 464 rd.record_type = GNUNET_GNS_RECORD_PKEY;
456 rd.flags = 0; 465 rd.flags = GNUNET_NAMESTORE_RF_AUTHORITY;
457 466
458 sig = GNUNET_NAMESTORE_create_signature(bob_key, 467 sig = GNUNET_NAMESTORE_create_signature(bob_key,
459 GNUNET_TIME_UNIT_FOREVER_ABS, 468 GNUNET_TIME_UNIT_FOREVER_ABS,
@@ -522,7 +531,7 @@ fin_init_zone (void *cls, int32_t success, const char *emsg)
522 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode); 531 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode);
523 rd.data = &bob_hash; 532 rd.data = &bob_hash;
524 rd.record_type = GNUNET_GNS_RECORD_PKEY; 533 rd.record_type = GNUNET_GNS_RECORD_PKEY;
525 rd.flags = 0; 534 rd.flags = GNUNET_NAMESTORE_RF_AUTHORITY;
526 535
527 GNUNET_NAMESTORE_record_create (namestore_handle, 536 GNUNET_NAMESTORE_record_create (namestore_handle,
528 our_key, 537 our_key,
@@ -542,7 +551,7 @@ cont_init_zone (void *cls, int32_t success, const char *emsg)
542 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode); 551 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode);
543 rd.data = &short_zone; 552 rd.data = &short_zone;
544 rd.record_type = GNUNET_GNS_RECORD_PKEY; 553 rd.record_type = GNUNET_GNS_RECORD_PKEY;
545 rd.flags = 0; 554 rd.flags = GNUNET_NAMESTORE_RF_AUTHORITY;
546 555
547 GNUNET_NAMESTORE_record_create (namestore_handle, 556 GNUNET_NAMESTORE_record_create (namestore_handle,
548 priv_key, 557 priv_key,
@@ -638,7 +647,7 @@ do_lookup (void *cls, const struct GNUNET_PeerIdentity *id,
638 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode); 647 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode);
639 rd.data = &priv_zone; 648 rd.data = &priv_zone;
640 rd.record_type = GNUNET_GNS_RECORD_PKEY; 649 rd.record_type = GNUNET_GNS_RECORD_PKEY;
641 rd.flags = 0; 650 rd.flags = GNUNET_NAMESTORE_RF_AUTHORITY;
642 651
643 GNUNET_NAMESTORE_record_create (namestore_handle, 652 GNUNET_NAMESTORE_record_create (namestore_handle,
644 our_key, 653 our_key,
diff --git a/src/gns/test_gns_revocation.c b/src/gns/test_gns_revocation.c
index dd5c294e4..b80704cb8 100644
--- a/src/gns/test_gns_revocation.c
+++ b/src/gns/test_gns_revocation.c
@@ -234,7 +234,7 @@ do_lookup(void *cls, const struct GNUNET_PeerIdentity *id,
234 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode); 234 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode);
235 rd.data = &bob_hash; 235 rd.data = &bob_hash;
236 rd.record_type = GNUNET_GNS_RECORD_PKEY; 236 rd.record_type = GNUNET_GNS_RECORD_PKEY;
237 rd.flags = 0; 237 rd.flags = GNUNET_NAMESTORE_RF_AUTHORITY;
238 238
239 GNUNET_NAMESTORE_record_create (namestore_handle, 239 GNUNET_NAMESTORE_record_create (namestore_handle,
240 alice_key, 240 alice_key,
diff --git a/src/gns/test_gns_simple_delegated_lookup.c b/src/gns/test_gns_simple_delegated_lookup.c
index 189cb7de2..428f11f77 100644
--- a/src/gns/test_gns_simple_delegated_lookup.c
+++ b/src/gns/test_gns_simple_delegated_lookup.c
@@ -249,7 +249,7 @@ do_lookup(void *cls, const struct GNUNET_PeerIdentity *id,
249 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode); 249 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode);
250 rd.data = &bob_hash; 250 rd.data = &bob_hash;
251 rd.record_type = GNUNET_GNS_RECORD_PKEY; 251 rd.record_type = GNUNET_GNS_RECORD_PKEY;
252 rd.flags = 0; 252 rd.flags = GNUNET_NAMESTORE_RF_AUTHORITY;
253 253
254 GNUNET_NAMESTORE_record_create (namestore_handle, 254 GNUNET_NAMESTORE_record_create (namestore_handle,
255 alice_key, 255 alice_key,
diff --git a/src/gns/test_gns_simple_get_authority.c b/src/gns/test_gns_simple_get_authority.c
index 307e2cf78..3c4e8103b 100644
--- a/src/gns/test_gns_simple_get_authority.c
+++ b/src/gns/test_gns_simple_get_authority.c
@@ -244,7 +244,7 @@ do_shorten(void *cls, const struct GNUNET_PeerIdentity *id,
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_GNS_RECORD_PKEY; 246 rd.record_type = GNUNET_GNS_RECORD_PKEY;
247 rd.flags = 0; 247 rd.flags = GNUNET_NAMESTORE_RF_AUTHORITY;
248 248
249 /* put bob into our zone */ 249 /* put bob into our zone */
250 GNUNET_NAMESTORE_record_create (namestore_handle, 250 GNUNET_NAMESTORE_record_create (namestore_handle,
diff --git a/src/gns/test_gns_simple_lookup.c b/src/gns/test_gns_simple_lookup.c
index 631130ea6..2b986ca87 100644
--- a/src/gns/test_gns_simple_lookup.c
+++ b/src/gns/test_gns_simple_lookup.c
@@ -227,7 +227,7 @@ do_lookup(void *cls, const struct GNUNET_PeerIdentity *id,
227 rd.data_size = sizeof(struct in_addr); 227 rd.data_size = sizeof(struct in_addr);
228 rd.data = web; 228 rd.data = web;
229 rd.record_type = GNUNET_DNSPARSER_TYPE_A; 229 rd.record_type = GNUNET_DNSPARSER_TYPE_A;
230 rd.flags = 0; 230 rd.flags = GNUNET_NAMESTORE_RF_AUTHORITY;
231 231
232 GNUNET_NAMESTORE_record_create (namestore_handle, 232 GNUNET_NAMESTORE_record_create (namestore_handle,
233 alice_key, 233 alice_key,
diff --git a/src/gns/test_gns_simple_mx_lookup.c b/src/gns/test_gns_simple_mx_lookup.c
index 0891ce846..e93a2ca0b 100644
--- a/src/gns/test_gns_simple_mx_lookup.c
+++ b/src/gns/test_gns_simple_mx_lookup.c
@@ -268,7 +268,7 @@ do_lookup(void *cls, const struct GNUNET_PeerIdentity *id,
268 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode); 268 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode);
269 rd.data = &bob_hash; 269 rd.data = &bob_hash;
270 rd.record_type = GNUNET_GNS_RECORD_PKEY; 270 rd.record_type = GNUNET_GNS_RECORD_PKEY;
271 rd.flags = 0; 271 rd.flags = GNUNET_NAMESTORE_RF_AUTHORITY;
272 272
273 GNUNET_NAMESTORE_record_create (namestore_handle, 273 GNUNET_NAMESTORE_record_create (namestore_handle,
274 alice_key, 274 alice_key,
diff --git a/src/gns/test_gns_simple_shorten.c b/src/gns/test_gns_simple_shorten.c
index c4e196b60..8fb9a79a3 100644
--- a/src/gns/test_gns_simple_shorten.c
+++ b/src/gns/test_gns_simple_shorten.c
@@ -244,7 +244,7 @@ do_shorten(void *cls, const struct GNUNET_PeerIdentity *id,
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_GNS_RECORD_PKEY; 246 rd.record_type = GNUNET_GNS_RECORD_PKEY;
247 rd.flags = 0; 247 rd.flags = GNUNET_NAMESTORE_RF_AUTHORITY;
248 248
249 /* put bob into our zone */ 249 /* put bob into our zone */
250 GNUNET_NAMESTORE_record_create (namestore_handle, 250 GNUNET_NAMESTORE_record_create (namestore_handle,
diff --git a/src/gns/test_gns_simple_zkey_lookup.c b/src/gns/test_gns_simple_zkey_lookup.c
index 3a0496404..dd2e59954 100644
--- a/src/gns/test_gns_simple_zkey_lookup.c
+++ b/src/gns/test_gns_simple_zkey_lookup.c
@@ -251,7 +251,7 @@ do_lookup(void *cls, const struct GNUNET_PeerIdentity *id,
251 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode); 251 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode);
252 rd.data = &bob_hash; 252 rd.data = &bob_hash;
253 rd.record_type = GNUNET_GNS_RECORD_PKEY; 253 rd.record_type = GNUNET_GNS_RECORD_PKEY;
254 rd.flags = 0; 254 rd.flags = GNUNET_NAMESTORE_RF_AUTHORITY;
255 255
256 GNUNET_NAMESTORE_record_create (namestore_handle, 256 GNUNET_NAMESTORE_record_create (namestore_handle,
257 alice_key, 257 alice_key,