aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/gnunet-namestore-fcfsd.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2023-10-18 13:37:38 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2023-10-18 13:37:38 +0200
commit9ef4abad615bea12d13be542b8ae5fbeb2dfee32 (patch)
tree8875a687e004d331c9ea6a1d511a328c72b88113 /src/namestore/gnunet-namestore-fcfsd.c
parente95236b3ed78cd597c15f34b89385295702b627f (diff)
downloadgnunet-9ef4abad615bea12d13be542b8ae5fbeb2dfee32.tar.gz
gnunet-9ef4abad615bea12d13be542b8ae5fbeb2dfee32.zip
NEWS: Refactoring components under src/ into lib/, plugin/, cli/ and service/
This also includes a necessary API refactoring of crypto from IDENTITY to UTIL.
Diffstat (limited to 'src/namestore/gnunet-namestore-fcfsd.c')
-rw-r--r--src/namestore/gnunet-namestore-fcfsd.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/namestore/gnunet-namestore-fcfsd.c b/src/namestore/gnunet-namestore-fcfsd.c
index 857b16def..4948ae441 100644
--- a/src/namestore/gnunet-namestore-fcfsd.c
+++ b/src/namestore/gnunet-namestore-fcfsd.c
@@ -110,7 +110,7 @@ struct RequestData
110 /** 110 /**
111 * Key to be associated with the requested name. 111 * Key to be associated with the requested name.
112 */ 112 */
113 struct GNUNET_IDENTITY_PublicKey key; 113 struct GNUNET_CRYPTO_PublicKey key;
114}; 114};
115 115
116/** 116/**
@@ -136,7 +136,7 @@ static struct GNUNET_IDENTITY_Handle *identity = NULL;
136/** 136/**
137 * Private key of the zone. 137 * Private key of the zone.
138 */ 138 */
139static const struct GNUNET_IDENTITY_PrivateKey *zone_key = NULL; 139static const struct GNUNET_CRYPTO_PrivateKey *zone_key = NULL;
140 140
141/** 141/**
142 * The HTTP daemon. 142 * The HTTP daemon.
@@ -389,7 +389,7 @@ search_error_cb (void *cls)
389 */ 389 */
390static void 390static void
391search_done_cb (void *cls, 391search_done_cb (void *cls,
392 const struct GNUNET_IDENTITY_PrivateKey *zone, 392 const struct GNUNET_CRYPTO_PrivateKey *zone,
393 const char *label, 393 const char *label,
394 unsigned int count, 394 unsigned int count,
395 const struct GNUNET_GNSRECORD_Data *d) 395 const struct GNUNET_GNSRECORD_Data *d)
@@ -478,7 +478,7 @@ register_done_cb (void *cls,
478 */ 478 */
479static void 479static void
480register_do_cb (void *cls, 480register_do_cb (void *cls,
481 const struct GNUNET_IDENTITY_PrivateKey *key, 481 const struct GNUNET_CRYPTO_PrivateKey *key,
482 const char *label, 482 const char *label,
483 unsigned int count, 483 unsigned int count,
484 const struct GNUNET_GNSRECORD_Data *d) 484 const struct GNUNET_GNSRECORD_Data *d)
@@ -577,7 +577,7 @@ iterate_error_cb (void *cls)
577 */ 577 */
578static void 578static void
579iterate_do_cb (void *cls, 579iterate_do_cb (void *cls,
580 const struct GNUNET_IDENTITY_PrivateKey *key, 580 const struct GNUNET_CRYPTO_PrivateKey *key,
581 const char *label, 581 const char *label,
582 unsigned int count, 582 unsigned int count,
583 const struct GNUNET_GNSRECORD_Data *d) 583 const struct GNUNET_GNSRECORD_Data *d)
@@ -838,7 +838,7 @@ create_response (void *cls,
838 return MHD_YES; 838 return MHD_YES;
839 } 839 }
840 840
841 if (GNUNET_OK != GNUNET_IDENTITY_public_key_from_string (rd->register_key, 841 if (GNUNET_OK != GNUNET_CRYPTO_public_key_from_string (rd->register_key,
842 &(rd->key))) 842 &(rd->key)))
843 { 843 {
844 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, 844 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,