aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_store.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/test_namestore_api_store.c')
-rw-r--r--src/namestore/test_namestore_api_store.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/namestore/test_namestore_api_store.c b/src/namestore/test_namestore_api_store.c
index f8a3dd412..22b92fbe5 100644
--- a/src/namestore/test_namestore_api_store.c
+++ b/src/namestore/test_namestore_api_store.c
@@ -38,9 +38,9 @@ static struct GNUNET_NAMESTORE_Handle *nsh;
38 38
39static struct GNUNET_SCHEDULER_Task *endbadly_task; 39static struct GNUNET_SCHEDULER_Task *endbadly_task;
40 40
41static struct GNUNET_IDENTITY_PrivateKey privkey; 41static struct GNUNET_CRYPTO_PrivateKey privkey;
42 42
43static struct GNUNET_IDENTITY_PublicKey pubkey; 43static struct GNUNET_CRYPTO_PublicKey pubkey;
44 44
45static int res; 45static int res;
46 46
@@ -114,7 +114,7 @@ run (void *cls,
114 &endbadly, NULL); 114 &endbadly, NULL);
115 privkey.type = htonl (GNUNET_GNSRECORD_TYPE_PKEY); 115 privkey.type = htonl (GNUNET_GNSRECORD_TYPE_PKEY);
116 GNUNET_CRYPTO_ecdsa_key_create (&privkey.ecdsa_key); 116 GNUNET_CRYPTO_ecdsa_key_create (&privkey.ecdsa_key);
117 GNUNET_IDENTITY_key_get_public (&privkey, &pubkey); 117 GNUNET_CRYPTO_key_get_public (&privkey, &pubkey);
118 118
119 119
120 rd.expiration_time = GNUNET_TIME_absolute_get ().abs_value_us; 120 rd.expiration_time = GNUNET_TIME_absolute_get ().abs_value_us;