aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_zone_to_name.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/test_namestore_api_zone_to_name.c')
-rw-r--r--src/namestore/test_namestore_api_zone_to_name.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/namestore/test_namestore_api_zone_to_name.c b/src/namestore/test_namestore_api_zone_to_name.c
index a99b7bc71..c70eef53a 100644
--- a/src/namestore/test_namestore_api_zone_to_name.c
+++ b/src/namestore/test_namestore_api_zone_to_name.c
@@ -41,11 +41,11 @@ static struct GNUNET_NAMESTORE_Handle *nsh;
41 41
42static struct GNUNET_SCHEDULER_Task *endbadly_task; 42static struct GNUNET_SCHEDULER_Task *endbadly_task;
43 43
44static struct GNUNET_IDENTITY_PrivateKey privkey; 44static struct GNUNET_CRYPTO_PrivateKey privkey;
45 45
46static struct GNUNET_IDENTITY_PublicKey pubkey; 46static struct GNUNET_CRYPTO_PublicKey pubkey;
47 47
48static struct GNUNET_IDENTITY_PublicKey s_zone_value; 48static struct GNUNET_CRYPTO_PublicKey s_zone_value;
49 49
50static char *s_name; 50static char *s_name;
51 51
@@ -91,7 +91,7 @@ end (void *cls)
91 91
92static void 92static void
93zone_to_name_proc (void *cls, 93zone_to_name_proc (void *cls,
94 const struct GNUNET_IDENTITY_PrivateKey *zone_key, 94 const struct GNUNET_CRYPTO_PrivateKey *zone_key,
95 const char *n, 95 const char *n,
96 unsigned int rd_count, 96 unsigned int rd_count,
97 const struct GNUNET_GNSRECORD_Data *rd) 97 const struct GNUNET_GNSRECORD_Data *rd)
@@ -205,7 +205,7 @@ run (void *cls,
205 privkey.type = htonl (GNUNET_GNSRECORD_TYPE_PKEY); 205 privkey.type = htonl (GNUNET_GNSRECORD_TYPE_PKEY);
206 GNUNET_CRYPTO_ecdsa_key_create (&privkey.ecdsa_key); 206 GNUNET_CRYPTO_ecdsa_key_create (&privkey.ecdsa_key);
207 /* get public key */ 207 /* get public key */
208 GNUNET_IDENTITY_key_get_public (&privkey, 208 GNUNET_CRYPTO_key_get_public (&privkey,
209 &pubkey); 209 &pubkey);
210 210
211 GNUNET_CRYPTO_random_block (GNUNET_CRYPTO_QUALITY_WEAK, 211 GNUNET_CRYPTO_random_block (GNUNET_CRYPTO_QUALITY_WEAK,