diff options
Diffstat (limited to 'src/peerinfo-tool/gnunet-peerinfo.c')
-rw-r--r-- | src/peerinfo-tool/gnunet-peerinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peerinfo-tool/gnunet-peerinfo.c b/src/peerinfo-tool/gnunet-peerinfo.c index 3d96f1043..8963637c9 100644 --- a/src/peerinfo-tool/gnunet-peerinfo.c +++ b/src/peerinfo-tool/gnunet-peerinfo.c | |||
@@ -192,7 +192,7 @@ static struct GNUNET_PeerIdentity my_peer_identity; | |||
192 | /** | 192 | /** |
193 | * My public key. | 193 | * My public key. |
194 | */ | 194 | */ |
195 | static struct GNUNET_CRYPTO_EccPublicKey my_public_key; | 195 | static struct GNUNET_CRYPTO_EccPublicSignKey my_public_key; |
196 | 196 | ||
197 | /** | 197 | /** |
198 | * Head of list of print contexts. | 198 | * Head of list of print contexts. |
@@ -677,7 +677,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
677 | return; | 677 | return; |
678 | } | 678 | } |
679 | GNUNET_free (fn); | 679 | GNUNET_free (fn); |
680 | GNUNET_CRYPTO_ecc_key_get_public (priv, &my_public_key); | 680 | GNUNET_CRYPTO_ecc_key_get_public_for_signature (priv, &my_public_key); |
681 | GNUNET_free (priv); | 681 | GNUNET_free (priv); |
682 | GNUNET_CRYPTO_hash (&my_public_key, sizeof (my_public_key), &my_peer_identity.hashPubKey); | 682 | GNUNET_CRYPTO_hash (&my_public_key, sizeof (my_public_key), &my_peer_identity.hashPubKey); |
683 | } | 683 | } |