aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_zone_iteration_specific_zone.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-03-19 18:37:04 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-03-19 18:37:04 +0000
commitcdd5f401a24438425da10a11992c2bfd9992df47 (patch)
treeadc9551920e029b854cd4cebe1bf6929245fd4a8 /src/namestore/test_namestore_api_zone_iteration_specific_zone.c
parentfc3a84931904e40da4783869117316a0401b456c (diff)
downloadgnunet-cdd5f401a24438425da10a11992c2bfd9992df47.tar.gz
gnunet-cdd5f401a24438425da10a11992c2bfd9992df47.zip
- test use new zonekey files
Diffstat (limited to 'src/namestore/test_namestore_api_zone_iteration_specific_zone.c')
-rw-r--r--src/namestore/test_namestore_api_zone_iteration_specific_zone.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/namestore/test_namestore_api_zone_iteration_specific_zone.c b/src/namestore/test_namestore_api_zone_iteration_specific_zone.c
index 550662e1f..4291b0630 100644
--- a/src/namestore/test_namestore_api_zone_iteration_specific_zone.c
+++ b/src/namestore/test_namestore_api_zone_iteration_specific_zone.c
@@ -369,7 +369,8 @@ run (void *cls, char *const *args, const char *cfgfile,
369 endbadly_task = GNUNET_SCHEDULER_add_delayed(TIMEOUT,&endbadly, NULL); 369 endbadly_task = GNUNET_SCHEDULER_add_delayed(TIMEOUT,&endbadly, NULL);
370 370
371 char *hostkey_file; 371 char *hostkey_file;
372 GNUNET_asprintf(&hostkey_file,"zonefiles%s%s",DIR_SEPARATOR_STR, "4UCICULTINKC87UO4326KEEDQ9MTEP2AJT88MJFVGTGNK12QNGMQI2S41VI07UUU6EO19BTB06PDL0HE6VP1OM50HOJEI75RHP4JP80.zkey"); 372 GNUNET_asprintf(&hostkey_file,"zonefiles%s%s",DIR_SEPARATOR_STR,
373 "N0UJMP015AFUNR2BTNM3FKPBLG38913BL8IDMCO2H0A1LIB81960.zkey");
373 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Using zonekey file `%s' \n", hostkey_file); 374 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Using zonekey file `%s' \n", hostkey_file);
374 privkey = GNUNET_CRYPTO_rsa_key_create_from_file(hostkey_file); 375 privkey = GNUNET_CRYPTO_rsa_key_create_from_file(hostkey_file);
375 GNUNET_free (hostkey_file); 376 GNUNET_free (hostkey_file);
@@ -377,7 +378,8 @@ run (void *cls, char *const *args, const char *cfgfile,
377 GNUNET_CRYPTO_rsa_key_get_public(privkey, &pubkey); 378 GNUNET_CRYPTO_rsa_key_get_public(privkey, &pubkey);
378 GNUNET_CRYPTO_short_hash (&pubkey, sizeof (pubkey), &zone); 379 GNUNET_CRYPTO_short_hash (&pubkey, sizeof (pubkey), &zone);
379 380
380 GNUNET_asprintf(&hostkey_file,"zonefiles%s%s",DIR_SEPARATOR_STR, "KJI3AL00K91EDPFJF58DAJM7H61D189TLP70N56JL8SVDCJE1SJ3SNNBOQPPONTL37FMHPS39SMK2NMVC0GQMGA6QCMHITT78O8GF80.zkey"); 381 GNUNET_asprintf(&hostkey_file,"zonefiles%s%s",DIR_SEPARATOR_STR,
382 "HGU0A0VCU334DN7F2I9UIUMVQMM7JMSD142LIMNUGTTV9R0CF4EG.zkey");
381 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Using zonekey file `%s' \n", hostkey_file); 383 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Using zonekey file `%s' \n", hostkey_file);
382 privkey2 = GNUNET_CRYPTO_rsa_key_create_from_file(hostkey_file); 384 privkey2 = GNUNET_CRYPTO_rsa_key_create_from_file(hostkey_file);
383 GNUNET_free (hostkey_file); 385 GNUNET_free (hostkey_file);