diff options
Diffstat (limited to 'src/gns/gnunet-service-gns.c')
-rw-r--r-- | src/gns/gnunet-service-gns.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gns/gnunet-service-gns.c b/src/gns/gnunet-service-gns.c index 8fcd75e7c..d3728ee00 100644 --- a/src/gns/gnunet-service-gns.c +++ b/src/gns/gnunet-service-gns.c | |||
@@ -318,7 +318,7 @@ dht_put_continuation (void *cls, | |||
318 | */ | 318 | */ |
319 | static void | 319 | static void |
320 | put_gns_record (void *cls, | 320 | put_gns_record (void *cls, |
321 | const struct GNUNET_CRYPTO_EccPrivateKey *key, | 321 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *key, |
322 | const char *name, | 322 | const char *name, |
323 | unsigned int rd_count, | 323 | unsigned int rd_count, |
324 | const struct GNUNET_NAMESTORE_RecordData *rd) | 324 | const struct GNUNET_NAMESTORE_RecordData *rd) |
@@ -414,8 +414,8 @@ put_gns_record (void *cls, | |||
414 | rd_public, | 414 | rd_public, |
415 | rd_public_count); | 415 | rd_public_count); |
416 | block_size = ntohl (block->purpose.size) | 416 | block_size = ntohl (block->purpose.size) |
417 | + sizeof (struct GNUNET_CRYPTO_EccSignature) | 417 | + sizeof (struct GNUNET_CRYPTO_EcdsaSignature) |
418 | + sizeof (struct GNUNET_CRYPTO_EccPublicSignKey); | 418 | + sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey); |
419 | GNUNET_NAMESTORE_query_from_private_key (key, | 419 | GNUNET_NAMESTORE_query_from_private_key (key, |
420 | name, | 420 | name, |
421 | &query); | 421 | &query); |
@@ -528,7 +528,7 @@ handle_lookup (void *cls, | |||
528 | struct ClientLookupHandle *clh; | 528 | struct ClientLookupHandle *clh; |
529 | char *nameptr = name; | 529 | char *nameptr = name; |
530 | const char *utf_in; | 530 | const char *utf_in; |
531 | const struct GNUNET_CRYPTO_EccPrivateKey *key; | 531 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *key; |
532 | uint16_t msg_size; | 532 | uint16_t msg_size; |
533 | const struct GNUNET_GNS_ClientLookupMessage *sh_msg; | 533 | const struct GNUNET_GNS_ClientLookupMessage *sh_msg; |
534 | 534 | ||
@@ -630,7 +630,7 @@ run (void *cls, struct GNUNET_SERVER_Handle *server, | |||
630 | { &handle_lookup, NULL, GNUNET_MESSAGE_TYPE_GNS_LOOKUP, 0}, | 630 | { &handle_lookup, NULL, GNUNET_MESSAGE_TYPE_GNS_LOOKUP, 0}, |
631 | {NULL, NULL, 0, 0} | 631 | {NULL, NULL, 0, 0} |
632 | }; | 632 | }; |
633 | struct GNUNET_CRYPTO_EccPublicSignKey dns_root; | 633 | struct GNUNET_CRYPTO_EcdsaPublicKey dns_root; |
634 | unsigned long long max_parallel_bg_queries = 0; | 634 | unsigned long long max_parallel_bg_queries = 0; |
635 | char *dns_root_name; | 635 | char *dns_root_name; |
636 | 636 | ||
@@ -683,7 +683,7 @@ run (void *cls, struct GNUNET_SERVER_Handle *server, | |||
683 | &dns_root_name)) | 683 | &dns_root_name)) |
684 | { | 684 | { |
685 | if (GNUNET_OK != | 685 | if (GNUNET_OK != |
686 | GNUNET_CRYPTO_ecc_public_sign_key_from_string (dns_root_name, | 686 | GNUNET_CRYPTO_ecdsa_public_key_from_string (dns_root_name, |
687 | strlen (dns_root_name), | 687 | strlen (dns_root_name), |
688 | &dns_root)) | 688 | &dns_root)) |
689 | { | 689 | { |