aboutsummaryrefslogtreecommitdiff
path: root/src/reclaim/did_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reclaim/did_core.c')
-rw-r--r--src/reclaim/did_core.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/reclaim/did_core.c b/src/reclaim/did_core.c
index 4f2bd5a87..ce3336b91 100644
--- a/src/reclaim/did_core.c
+++ b/src/reclaim/did_core.c
@@ -90,7 +90,7 @@ DID_resolve (const char *did,
90 DID_resolve_callback *cont, 90 DID_resolve_callback *cont,
91 void *cls) 91 void *cls)
92{ 92{
93 struct GNUNET_IDENTITY_PublicKey pkey; 93 struct GNUNET_CRYPTO_PublicKey pkey;
94 94
95 // did, gns_handle and cont must me set 95 // did, gns_handle and cont must me set
96 if ((did == NULL) || (gns_handle == NULL) || (cont == NULL)) 96 if ((did == NULL) || (gns_handle == NULL) || (cont == NULL))
@@ -151,13 +151,13 @@ struct DID_create_namestore_lookup_closure
151static void 151static void
152DID_create_namestore_lookup_cb (void *cls, 152DID_create_namestore_lookup_cb (void *cls,
153 const struct 153 const struct
154 GNUNET_IDENTITY_PrivateKey *zone, 154 GNUNET_CRYPTO_PrivateKey *zone,
155 const char *label, 155 const char *label,
156 unsigned int rd_count, 156 unsigned int rd_count,
157 const struct GNUNET_GNSRECORD_Data *rd) 157 const struct GNUNET_GNSRECORD_Data *rd)
158{ 158{
159 struct GNUNET_GNSRECORD_Data record_data; 159 struct GNUNET_GNSRECORD_Data record_data;
160 struct GNUNET_IDENTITY_PublicKey pkey; 160 struct GNUNET_CRYPTO_PublicKey pkey;
161 161
162 const char *did_document 162 const char *did_document
163 = ((struct DID_create_namestore_lookup_closure *) cls)->did_document; 163 = ((struct DID_create_namestore_lookup_closure *) cls)->did_document;
@@ -180,7 +180,7 @@ DID_create_namestore_lookup_cb (void *cls,
180 } 180 }
181 else { 181 else {
182 // Get public key 182 // Get public key
183 GNUNET_IDENTITY_key_get_public (zone, &pkey); 183 GNUNET_CRYPTO_key_get_public (zone, &pkey);
184 184
185 // If no DID Document is given a default one is created 185 // If no DID Document is given a default one is created
186 if (did_document != NULL) 186 if (did_document != NULL)
@@ -225,7 +225,7 @@ DID_create (const struct GNUNET_IDENTITY_Ego *ego,
225 DID_action_callback *cont, 225 DID_action_callback *cont,
226 void *cls) 226 void *cls)
227{ 227{
228 struct GNUNET_IDENTITY_PublicKey pkey; 228 struct GNUNET_CRYPTO_PublicKey pkey;
229 229
230 // Ego, namestore_handle and cont must be set 230 // Ego, namestore_handle and cont must be set
231 if ((ego == NULL) || (namestore_handle == NULL) || (cont == NULL)) 231 if ((ego == NULL) || (namestore_handle == NULL) || (cont == NULL))