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_create_update.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_create_update.c')
-rw-r--r-- | src/namestore/test_namestore_api_create_update.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/namestore/test_namestore_api_create_update.c b/src/namestore/test_namestore_api_create_update.c index 6deb03bf0..a4f454974 100644 --- a/src/namestore/test_namestore_api_create_update.c +++ b/src/namestore/test_namestore_api_create_update.c | |||
@@ -445,7 +445,8 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
445 | 445 | ||
446 | /* load privat key */ | 446 | /* load privat key */ |
447 | char *hostkey_file; | 447 | char *hostkey_file; |
448 | GNUNET_asprintf(&hostkey_file,"zonefiles%s%s",DIR_SEPARATOR_STR, "4UCICULTINKC87UO4326KEEDQ9MTEP2AJT88MJFVGTGNK12QNGMQI2S41VI07UUU6EO19BTB06PDL0HE6VP1OM50HOJEI75RHP4JP80.zkey"); | 448 | GNUNET_asprintf(&hostkey_file,"zonefiles%s%s",DIR_SEPARATOR_STR, |
449 | "N0UJMP015AFUNR2BTNM3FKPBLG38913BL8IDMCO2H0A1LIB81960.zkey"); | ||
449 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Using zonekey file `%s' \n", hostkey_file); | 450 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Using zonekey file `%s' \n", hostkey_file); |
450 | privkey = GNUNET_CRYPTO_rsa_key_create_from_file(hostkey_file); | 451 | privkey = GNUNET_CRYPTO_rsa_key_create_from_file(hostkey_file); |
451 | GNUNET_free (hostkey_file); | 452 | GNUNET_free (hostkey_file); |