aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_lookup.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-02-29 11:11:10 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-02-29 11:11:10 +0000
commita74f95cb209906901dc44cff013fa9200c4e2e4e (patch)
treeb07c642e8a9d0345d2f7fcbf46834d9cba25b7ed /src/namestore/test_namestore_api_lookup.c
parentfd9ed7b5a3e296ad99e39c36d011d5a9db6f46dd (diff)
downloadgnunet-a74f95cb209906901dc44cff013fa9200c4e2e4e.tar.gz
gnunet-a74f95cb209906901dc44cff013fa9200c4e2e4e.zip
nametore api change
Diffstat (limited to 'src/namestore/test_namestore_api_lookup.c')
-rw-r--r--src/namestore/test_namestore_api_lookup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/namestore/test_namestore_api_lookup.c b/src/namestore/test_namestore_api_lookup.c
index 0841fb216..fafe5f218 100644
--- a/src/namestore/test_namestore_api_lookup.c
+++ b/src/namestore/test_namestore_api_lookup.c
@@ -141,7 +141,7 @@ void name_lookup_proc (void *cls,
141 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Failed to lookup records for name `%s'\n", name); 141 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Failed to lookup records for name `%s'\n", name);
142 res = 1; 142 res = 1;
143 } 143 }
144 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Lookup done for name %s'\n", name); 144 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Lookup done for name %s'\n", name);
145 } 145 }
146 146
147 GNUNET_SCHEDULER_add_now(&end, NULL); 147 GNUNET_SCHEDULER_add_now(&end, NULL);
@@ -198,7 +198,7 @@ run (void *cls, char *const *args, const char *cfgfile,
198 GNUNET_CRYPTO_rsa_key_get_public(privkey, &pubkey); 198 GNUNET_CRYPTO_rsa_key_get_public(privkey, &pubkey);
199 199
200 /* create random zone hash */ 200 /* create random zone hash */
201 GNUNET_CRYPTO_hash_create_random (GNUNET_CRYPTO_QUALITY_WEAK, &zone); 201 GNUNET_CRYPTO_hash (&pubkey, sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded), &zone);
202 202
203 struct GNUNET_CRYPTO_RsaSignature signature; 203 struct GNUNET_CRYPTO_RsaSignature signature;
204 204