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_to_name.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_to_name.c')
-rw-r--r-- | src/namestore/test_namestore_api_zone_to_name.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/namestore/test_namestore_api_zone_to_name.c b/src/namestore/test_namestore_api_zone_to_name.c index 6936142da..60168f82d 100644 --- a/src/namestore/test_namestore_api_zone_to_name.c +++ b/src/namestore/test_namestore_api_zone_to_name.c | |||
@@ -221,7 +221,8 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
221 | 221 | ||
222 | /* load privat key */ | 222 | /* load privat key */ |
223 | char *hostkey_file; | 223 | char *hostkey_file; |
224 | GNUNET_asprintf(&hostkey_file,"zonefiles%s%s",DIR_SEPARATOR_STR, "4UCICULTINKC87UO4326KEEDQ9MTEP2AJT88MJFVGTGNK12QNGMQI2S41VI07UUU6EO19BTB06PDL0HE6VP1OM50HOJEI75RHP4JP80.zkey"); | 224 | GNUNET_asprintf(&hostkey_file,"zonefiles%s%s",DIR_SEPARATOR_STR, |
225 | "N0UJMP015AFUNR2BTNM3FKPBLG38913BL8IDMCO2H0A1LIB81960.zkey"); | ||
225 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Using zonekey file `%s' \n", hostkey_file); | 226 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Using zonekey file `%s' \n", hostkey_file); |
226 | privkey = GNUNET_CRYPTO_rsa_key_create_from_file(hostkey_file); | 227 | privkey = GNUNET_CRYPTO_rsa_key_create_from_file(hostkey_file); |
227 | GNUNET_free (hostkey_file); | 228 | GNUNET_free (hostkey_file); |