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.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.c')
-rw-r--r-- | src/namestore/test_namestore_api.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/namestore/test_namestore_api.c b/src/namestore/test_namestore_api.c index 4c654ecf4..7e8de7374 100644 --- a/src/namestore/test_namestore_api.c +++ b/src/namestore/test_namestore_api.c | |||
@@ -168,7 +168,8 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
168 | endbadly_task = GNUNET_SCHEDULER_add_delayed(TIMEOUT,endbadly, NULL); | 168 | endbadly_task = GNUNET_SCHEDULER_add_delayed(TIMEOUT,endbadly, NULL); |
169 | 169 | ||
170 | char *hostkey_file; | 170 | char *hostkey_file; |
171 | GNUNET_asprintf(&hostkey_file,"zonefiles%s%s",DIR_SEPARATOR_STR, "4UCICULTINKC87UO4326KEEDQ9MTEP2AJT88MJFVGTGNK12QNGMQI2S41VI07UUU6EO19BTB06PDL0HE6VP1OM50HOJEI75RHP4JP80.zkey"); | 171 | GNUNET_asprintf(&hostkey_file,"zonefiles%s%s",DIR_SEPARATOR_STR, |
172 | "N0UJMP015AFUNR2BTNM3FKPBLG38913BL8IDMCO2H0A1LIB81960.zkey"); | ||
172 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Using zonekey file `%s' \n", hostkey_file); | 173 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Using zonekey file `%s' \n", hostkey_file); |
173 | privkey = GNUNET_CRYPTO_rsa_key_create_from_file(hostkey_file); | 174 | privkey = GNUNET_CRYPTO_rsa_key_create_from_file(hostkey_file); |
174 | GNUNET_free (hostkey_file); | 175 | GNUNET_free (hostkey_file); |