aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/gnunet-namestore-fcfsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/gnunet-namestore-fcfsd.c')
-rw-r--r--src/namestore/gnunet-namestore-fcfsd.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/namestore/gnunet-namestore-fcfsd.c b/src/namestore/gnunet-namestore-fcfsd.c
index 041b046ba..527e46eb9 100644
--- a/src/namestore/gnunet-namestore-fcfsd.c
+++ b/src/namestore/gnunet-namestore-fcfsd.c
@@ -552,7 +552,7 @@ lookup_result_processor (void *cls,
552 const struct GNUNET_NAMESTORE_RecordData *rd) 552 const struct GNUNET_NAMESTORE_RecordData *rd)
553{ 553{
554 struct Request *request = cls; 554 struct Request *request = cls;
555 struct GNUNET_CRYPTO_EccPublicKey pub; 555 struct GNUNET_CRYPTO_EccPublicSignKey pub;
556 556
557 if (0 != rd_count) 557 if (0 != rd_count)
558 { 558 {
@@ -565,7 +565,7 @@ lookup_result_processor (void *cls,
565 return; 565 return;
566 } 566 }
567 if (GNUNET_OK != 567 if (GNUNET_OK !=
568 GNUNET_CRYPTO_ecc_public_key_from_string (request->public_key, 568 GNUNET_CRYPTO_ecc_public_sign_key_from_string (request->public_key,
569 strlen (request->public_key), 569 strlen (request->public_key),
570 &pub)) 570 &pub))
571 { 571 {
@@ -594,7 +594,7 @@ lookup_block_processor (void *cls,
594 const struct GNUNET_NAMESTORE_Block *block) 594 const struct GNUNET_NAMESTORE_Block *block)
595{ 595{
596 struct Request *request = cls; 596 struct Request *request = cls;
597 struct GNUNET_CRYPTO_EccPublicKey pub; 597 struct GNUNET_CRYPTO_EccPublicSignKey pub;
598 598
599 request->qe = NULL; 599 request->qe = NULL;
600 if (NULL == block) 600 if (NULL == block)
@@ -602,7 +602,7 @@ lookup_block_processor (void *cls,
602 lookup_result_processor (request, 0, NULL); 602 lookup_result_processor (request, 0, NULL);
603 return; 603 return;
604 } 604 }
605 GNUNET_CRYPTO_ecc_key_get_public (&fcfs_zone_pkey, 605 GNUNET_CRYPTO_ecc_key_get_public_for_signature (&fcfs_zone_pkey,
606 &pub); 606 &pub);
607 if (GNUNET_OK != 607 if (GNUNET_OK !=
608 GNUNET_NAMESTORE_block_decrypt (block, 608 GNUNET_NAMESTORE_block_decrypt (block,
@@ -655,7 +655,7 @@ create_response (void *cls,
655 struct MHD_Response *response; 655 struct MHD_Response *response;
656 struct Request *request; 656 struct Request *request;
657 int ret; 657 int ret;
658 struct GNUNET_CRYPTO_EccPublicKey pub; 658 struct GNUNET_CRYPTO_EccPublicSignKey pub;
659 struct GNUNET_HashCode query; 659 struct GNUNET_HashCode query;
660 660
661 if ( (0 == strcmp (method, MHD_HTTP_METHOD_GET)) || 661 if ( (0 == strcmp (method, MHD_HTTP_METHOD_GET)) ||
@@ -705,7 +705,7 @@ create_response (void *cls,
705 request->pp = NULL; 705 request->pp = NULL;
706 } 706 }
707 if (GNUNET_OK != 707 if (GNUNET_OK !=
708 GNUNET_CRYPTO_ecc_public_key_from_string (request->public_key, 708 GNUNET_CRYPTO_ecc_public_sign_key_from_string (request->public_key,
709 strlen (request->public_key), 709 strlen (request->public_key),
710 &pub)) 710 &pub))
711 { 711 {
@@ -733,7 +733,7 @@ create_response (void *cls,
733 request, connection); 733 request, connection);
734 } 734 }
735 request->phase = RP_LOOKUP; 735 request->phase = RP_LOOKUP;
736 GNUNET_CRYPTO_ecc_key_get_public (&fcfs_zone_pkey, 736 GNUNET_CRYPTO_ecc_key_get_public_for_signature (&fcfs_zone_pkey,
737 &pub); 737 &pub);
738 GNUNET_NAMESTORE_query_from_public_key (&pub, 738 GNUNET_NAMESTORE_query_from_public_key (&pub,
739 request->domain_name, 739 request->domain_name,