aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_lookup_nick.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/test_namestore_api_lookup_nick.c')
-rw-r--r--src/namestore/test_namestore_api_lookup_nick.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/namestore/test_namestore_api_lookup_nick.c b/src/namestore/test_namestore_api_lookup_nick.c
index b26674a95..21fc1ef79 100644
--- a/src/namestore/test_namestore_api_lookup_nick.c
+++ b/src/namestore/test_namestore_api_lookup_nick.c
@@ -40,9 +40,9 @@ static struct GNUNET_NAMESTORE_Handle *nsh;
40 40
41static struct GNUNET_SCHEDULER_Task *endbadly_task; 41static struct GNUNET_SCHEDULER_Task *endbadly_task;
42 42
43static struct GNUNET_IDENTITY_PrivateKey privkey; 43static struct GNUNET_CRYPTO_PrivateKey privkey;
44 44
45static struct GNUNET_IDENTITY_PublicKey pubkey; 45static struct GNUNET_CRYPTO_PublicKey pubkey;
46 46
47static int res; 47static int res;
48 48
@@ -97,7 +97,7 @@ end (void *cls)
97 97
98static void 98static void
99lookup_it (void *cls, 99lookup_it (void *cls,
100 const struct GNUNET_IDENTITY_PrivateKey *zone, 100 const struct GNUNET_CRYPTO_PrivateKey *zone,
101 const char *label, 101 const char *label,
102 unsigned int rd_count, 102 unsigned int rd_count,
103 const struct GNUNET_GNSRECORD_Data *rd) 103 const struct GNUNET_GNSRECORD_Data *rd)
@@ -289,7 +289,7 @@ run (void *cls,
289 NULL); 289 NULL);
290 privkey.type = htonl (GNUNET_GNSRECORD_TYPE_PKEY); 290 privkey.type = htonl (GNUNET_GNSRECORD_TYPE_PKEY);
291 GNUNET_CRYPTO_ecdsa_key_create (&privkey.ecdsa_key); 291 GNUNET_CRYPTO_ecdsa_key_create (&privkey.ecdsa_key);
292 GNUNET_IDENTITY_key_get_public (&privkey, 292 GNUNET_CRYPTO_key_get_public (&privkey,
293 &pubkey); 293 &pubkey);
294 294
295 nsh = GNUNET_NAMESTORE_connect (cfg); 295 nsh = GNUNET_NAMESTORE_connect (cfg);