diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-03-19 19:10:10 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-03-19 19:10:10 +0000 |
commit | 324d77d9a7f318705a862dbeb733d7a2af9e1cfd (patch) | |
tree | 34be82d3f518e08c145a22b0ae784d76812a0dd2 /src/namestore/test_namestore_api_lookup.c | |
parent | d2fb255905f0c93f50db2112594307bb1265742c (diff) | |
download | gnunet-324d77d9a7f318705a862dbeb733d7a2af9e1cfd.tar.gz gnunet-324d77d9a7f318705a862dbeb733d7a2af9e1cfd.zip |
- minor changes
Diffstat (limited to 'src/namestore/test_namestore_api_lookup.c')
-rw-r--r-- | src/namestore/test_namestore_api_lookup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/namestore/test_namestore_api_lookup.c b/src/namestore/test_namestore_api_lookup.c index 5be939a89..b6b681566 100644 --- a/src/namestore/test_namestore_api_lookup.c +++ b/src/namestore/test_namestore_api_lookup.c | |||
@@ -255,7 +255,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
255 | 255 | ||
256 | size_t rd_ser_len; | 256 | size_t rd_ser_len; |
257 | 257 | ||
258 | /* load privat key */ | 258 | /* load privat key from file not included in zonekey dir */ |
259 | privkey = GNUNET_CRYPTO_rsa_key_create_from_file("test_hostkey"); | 259 | privkey = GNUNET_CRYPTO_rsa_key_create_from_file("test_hostkey"); |
260 | GNUNET_assert (privkey != NULL); | 260 | GNUNET_assert (privkey != NULL); |
261 | /* get public key */ | 261 | /* get public key */ |
@@ -274,7 +274,6 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
274 | 274 | ||
275 | /* create random zone hash */ | 275 | /* create random zone hash */ |
276 | GNUNET_CRYPTO_short_hash (&pubkey, sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded), &s_zone); | 276 | GNUNET_CRYPTO_short_hash (&pubkey, sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded), &s_zone); |
277 | |||
278 | start_arm (cfgfile); | 277 | start_arm (cfgfile); |
279 | GNUNET_assert (arm != NULL); | 278 | GNUNET_assert (arm != NULL); |
280 | 279 | ||