aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/gnunet-namestore-zonefile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/gnunet-namestore-zonefile.c')
-rw-r--r--src/namestore/gnunet-namestore-zonefile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/namestore/gnunet-namestore-zonefile.c b/src/namestore/gnunet-namestore-zonefile.c
index d9331aa32..dfd438e94 100644
--- a/src/namestore/gnunet-namestore-zonefile.c
+++ b/src/namestore/gnunet-namestore-zonefile.c
@@ -94,7 +94,7 @@ static struct GNUNET_IDENTITY_EgoLookup *el;
94/** 94/**
95 * Private key for the our zone. 95 * Private key for the our zone.
96 */ 96 */
97static struct GNUNET_IDENTITY_PrivateKey zone_pkey; 97static struct GNUNET_CRYPTO_PrivateKey zone_pkey;
98 98
99/** 99/**
100 * Queue entry for the 'add' operation. 100 * Queue entry for the 'add' operation.
@@ -282,7 +282,7 @@ parse_origin (char *token, char *origin)
282} 282}
283 283
284static void 284static void
285origin_create_cb (void *cls, const struct GNUNET_IDENTITY_PrivateKey *pk, 285origin_create_cb (void *cls, const struct GNUNET_CRYPTO_PrivateKey *pk,
286 enum GNUNET_ErrorCode ec) 286 enum GNUNET_ErrorCode ec)
287{ 287{
288 id_op = NULL; 288 id_op = NULL;
@@ -309,7 +309,7 @@ origin_lookup_cb (void *cls, struct GNUNET_IDENTITY_Ego *ego)
309 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 309 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
310 "$ORIGIN %s does not exist, creating...\n", ego_name); 310 "$ORIGIN %s does not exist, creating...\n", ego_name);
311 id_op = GNUNET_IDENTITY_create (id, ego_name, NULL, 311 id_op = GNUNET_IDENTITY_create (id, ego_name, NULL,
312 GNUNET_IDENTITY_TYPE_ECDSA, // FIXME make configurable 312 GNUNET_PUBLIC_KEY_TYPE_ECDSA, // FIXME make configurable
313 origin_create_cb, 313 origin_create_cb,
314 NULL); 314 NULL);
315 return; 315 return;