aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_edit_records.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/test_namestore_api_edit_records.c')
-rw-r--r--src/namestore/test_namestore_api_edit_records.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/namestore/test_namestore_api_edit_records.c b/src/namestore/test_namestore_api_edit_records.c
index fbee57432..a6bce7c17 100644
--- a/src/namestore/test_namestore_api_edit_records.c
+++ b/src/namestore/test_namestore_api_edit_records.c
@@ -40,9 +40,9 @@ static struct GNUNET_NAMESTORE_Handle *nsh2;
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
@@ -91,7 +91,7 @@ end (void *cls)
91 91
92static void 92static void
93lookup_it (void *cls, 93lookup_it (void *cls,
94 const struct GNUNET_IDENTITY_PrivateKey *zone, 94 const struct GNUNET_CRYPTO_PrivateKey *zone,
95 const char *label, 95 const char *label,
96 unsigned int rd_count, 96 unsigned int rd_count,
97 const struct GNUNET_GNSRECORD_Data *rd) 97 const struct GNUNET_GNSRECORD_Data *rd)
@@ -138,7 +138,7 @@ fail_cb_lock (void *cls);
138 138
139static void 139static void
140edit_cont_b (void *cls, 140edit_cont_b (void *cls,
141 const struct GNUNET_IDENTITY_PrivateKey *zone, 141 const struct GNUNET_CRYPTO_PrivateKey *zone,
142 const char *label, 142 const char *label,
143 unsigned int rd_count, 143 unsigned int rd_count,
144 const struct GNUNET_GNSRECORD_Data *rd) 144 const struct GNUNET_GNSRECORD_Data *rd)
@@ -243,7 +243,7 @@ begin_cont_b (void *cls,
243 243
244static void 244static void
245edit_cont (void *cls, 245edit_cont (void *cls,
246 const struct GNUNET_IDENTITY_PrivateKey *zone, 246 const struct GNUNET_CRYPTO_PrivateKey *zone,
247 const char *label, 247 const char *label,
248 unsigned int rd_count, 248 unsigned int rd_count,
249 const struct GNUNET_GNSRECORD_Data *rd) 249 const struct GNUNET_GNSRECORD_Data *rd)
@@ -322,7 +322,7 @@ run (void *cls,
322 322
323 privkey.type = htonl (GNUNET_GNSRECORD_TYPE_PKEY); 323 privkey.type = htonl (GNUNET_GNSRECORD_TYPE_PKEY);
324 GNUNET_CRYPTO_ecdsa_key_create (&privkey.ecdsa_key); 324 GNUNET_CRYPTO_ecdsa_key_create (&privkey.ecdsa_key);
325 GNUNET_IDENTITY_key_get_public (&privkey, 325 GNUNET_CRYPTO_key_get_public (&privkey,
326 &pubkey); 326 &pubkey);
327 327
328 removed = GNUNET_NO; 328 removed = GNUNET_NO;