aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo-tool/gnunet-peerinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/peerinfo-tool/gnunet-peerinfo.c')
-rw-r--r--src/peerinfo-tool/gnunet-peerinfo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/peerinfo-tool/gnunet-peerinfo.c b/src/peerinfo-tool/gnunet-peerinfo.c
index 67aeddbe7..e62df3047 100644
--- a/src/peerinfo-tool/gnunet-peerinfo.c
+++ b/src/peerinfo-tool/gnunet-peerinfo.c
@@ -628,7 +628,7 @@ static void
628run (void *cls, char *const *args, const char *cfgfile, 628run (void *cls, char *const *args, const char *cfgfile,
629 const struct GNUNET_CONFIGURATION_Handle *c) 629 const struct GNUNET_CONFIGURATION_Handle *c)
630{ 630{
631 struct GNUNET_CRYPTO_EccPrivateKey *priv; 631 struct GNUNET_CRYPTO_EddsaPrivateKey *priv;
632 char *fn; 632 char *fn;
633 633
634 cfg = c; 634 cfg = c;
@@ -662,14 +662,14 @@ run (void *cls, char *const *args, const char *cfgfile,
662 "GNUNETD", "HOSTKEYFILE"); 662 "GNUNETD", "HOSTKEYFILE");
663 return; 663 return;
664 } 664 }
665 if (NULL == (priv = GNUNET_CRYPTO_ecc_key_create_from_file (fn))) 665 if (NULL == (priv = GNUNET_CRYPTO_eddsa_key_create_from_file (fn)))
666 { 666 {
667 FPRINTF (stderr, _("Loading hostkey from `%s' failed.\n"), fn); 667 FPRINTF (stderr, _("Loading hostkey from `%s' failed.\n"), fn);
668 GNUNET_free (fn); 668 GNUNET_free (fn);
669 return; 669 return;
670 } 670 }
671 GNUNET_free (fn); 671 GNUNET_free (fn);
672 GNUNET_CRYPTO_ecc_key_get_public_for_signature (priv, 672 GNUNET_CRYPTO_eddsa_key_get_public (priv,
673 &my_peer_identity.public_key); 673 &my_peer_identity.public_key);
674 GNUNET_free (priv); 674 GNUNET_free (priv);
675 } 675 }