aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/gnunet-service-mesh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh/gnunet-service-mesh.c')
-rw-r--r--src/mesh/gnunet-service-mesh.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c
index afa64f1fd..b17412b02 100644
--- a/src/mesh/gnunet-service-mesh.c
+++ b/src/mesh/gnunet-service-mesh.c
@@ -717,7 +717,7 @@ static struct GNUNET_PeerIdentity my_full_id;
717/** 717/**
718 * Own private key. 718 * Own private key.
719 */ 719 */
720static struct GNUNET_CRYPTO_EccPrivateKey *my_private_key; 720static struct GNUNET_CRYPTO_EddsaPrivateKey *my_private_key;
721 721
722/** 722/**
723 * Tunnel ID for the next created tunnel (global tunnel number). 723 * Tunnel ID for the next created tunnel (global tunnel number).
@@ -5758,7 +5758,7 @@ run (void *cls, struct GNUNET_SERVER_Handle *server,
5758 const struct GNUNET_CONFIGURATION_Handle *c) 5758 const struct GNUNET_CONFIGURATION_Handle *c)
5759{ 5759{
5760 char *keyfile; 5760 char *keyfile;
5761 struct GNUNET_CRYPTO_EccPrivateKey *pk; 5761 struct GNUNET_CRYPTO_EddsaPrivateKey *pk;
5762 5762
5763 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "starting to run\n"); 5763 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "starting to run\n");
5764 server_handle = server; 5764 server_handle = server;
@@ -5897,11 +5897,11 @@ run (void *cls, struct GNUNET_SERVER_Handle *server,
5897 /* Scheduled the task to clean up when shutdown is called */ 5897 /* Scheduled the task to clean up when shutdown is called */
5898 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, &shutdown_task, 5898 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, &shutdown_task,
5899 NULL); 5899 NULL);
5900 pk = GNUNET_CRYPTO_ecc_key_create_from_file (keyfile); 5900 pk = GNUNET_CRYPTO_eddsa_key_create_from_file (keyfile);
5901 GNUNET_free (keyfile); 5901 GNUNET_free (keyfile);
5902 GNUNET_assert (NULL != pk); 5902 GNUNET_assert (NULL != pk);
5903 my_private_key = pk; 5903 my_private_key = pk;
5904 GNUNET_CRYPTO_ecc_key_get_public_for_signature (my_private_key, 5904 GNUNET_CRYPTO_eddsa_key_get_public (my_private_key,
5905 &my_full_id.public_key); 5905 &my_full_id.public_key);
5906 myid = GNUNET_PEER_intern (&my_full_id); 5906 myid = GNUNET_PEER_intern (&my_full_id);
5907 GNUNET_log (GNUNET_ERROR_TYPE_INFO, 5907 GNUNET_log (GNUNET_ERROR_TYPE_INFO,