diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-03-19 18:37:04 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-03-19 18:37:04 +0000 |
commit | cdd5f401a24438425da10a11992c2bfd9992df47 (patch) | |
tree | adc9551920e029b854cd4cebe1bf6929245fd4a8 /src/namestore/test_namestore_api_zone_iteration_stop.c | |
parent | fc3a84931904e40da4783869117316a0401b456c (diff) | |
download | gnunet-cdd5f401a24438425da10a11992c2bfd9992df47.tar.gz gnunet-cdd5f401a24438425da10a11992c2bfd9992df47.zip |
- test use new zonekey files
Diffstat (limited to 'src/namestore/test_namestore_api_zone_iteration_stop.c')
-rw-r--r-- | src/namestore/test_namestore_api_zone_iteration_stop.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/namestore/test_namestore_api_zone_iteration_stop.c b/src/namestore/test_namestore_api_zone_iteration_stop.c index da75d46db..b48ab0781 100644 --- a/src/namestore/test_namestore_api_zone_iteration_stop.c +++ b/src/namestore/test_namestore_api_zone_iteration_stop.c | |||
@@ -419,7 +419,8 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
419 | endbadly_task = GNUNET_SCHEDULER_add_delayed(TIMEOUT,&endbadly, NULL); | 419 | endbadly_task = GNUNET_SCHEDULER_add_delayed(TIMEOUT,&endbadly, NULL); |
420 | 420 | ||
421 | char *hostkey_file; | 421 | char *hostkey_file; |
422 | GNUNET_asprintf(&hostkey_file,"zonefiles%s%s",DIR_SEPARATOR_STR, "4UCICULTINKC87UO4326KEEDQ9MTEP2AJT88MJFVGTGNK12QNGMQI2S41VI07UUU6EO19BTB06PDL0HE6VP1OM50HOJEI75RHP4JP80.zkey"); | 422 | GNUNET_asprintf(&hostkey_file,"zonefiles%s%s",DIR_SEPARATOR_STR, |
423 | "N0UJMP015AFUNR2BTNM3FKPBLG38913BL8IDMCO2H0A1LIB81960.zkey"); | ||
423 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Using zonekey file `%s' \n", hostkey_file); | 424 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Using zonekey file `%s' \n", hostkey_file); |
424 | privkey = GNUNET_CRYPTO_rsa_key_create_from_file(hostkey_file); | 425 | privkey = GNUNET_CRYPTO_rsa_key_create_from_file(hostkey_file); |
425 | GNUNET_free (hostkey_file); | 426 | GNUNET_free (hostkey_file); |
@@ -427,7 +428,8 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
427 | GNUNET_CRYPTO_rsa_key_get_public(privkey, &pubkey); | 428 | GNUNET_CRYPTO_rsa_key_get_public(privkey, &pubkey); |
428 | GNUNET_CRYPTO_hash(&pubkey, sizeof (pubkey), &zone); | 429 | GNUNET_CRYPTO_hash(&pubkey, sizeof (pubkey), &zone); |
429 | 430 | ||
430 | GNUNET_asprintf(&hostkey_file,"zonefiles%s%s",DIR_SEPARATOR_STR, "KJI3AL00K91EDPFJF58DAJM7H61D189TLP70N56JL8SVDCJE1SJ3SNNBOQPPONTL37FMHPS39SMK2NMVC0GQMGA6QCMHITT78O8GF80.zkey"); | 431 | GNUNET_asprintf(&hostkey_file,"zonefiles%s%s",DIR_SEPARATOR_STR, |
432 | "HGU0A0VCU334DN7F2I9UIUMVQMM7JMSD142LIMNUGTTV9R0CF4EG.zkey"); | ||
431 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Using zonekey file `%s' \n", hostkey_file); | 433 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Using zonekey file `%s' \n", hostkey_file); |
432 | privkey2 = GNUNET_CRYPTO_rsa_key_create_from_file(hostkey_file); | 434 | privkey2 = GNUNET_CRYPTO_rsa_key_create_from_file(hostkey_file); |
433 | GNUNET_free (hostkey_file); | 435 | GNUNET_free (hostkey_file); |