diff options
Diffstat (limited to 'src/mesh/gnunet-service-mesh.c')
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 130c7df14..786730668 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c | |||
@@ -722,7 +722,7 @@ static struct GNUNET_CRYPTO_EccPrivateKey *my_private_key; | |||
722 | /** | 722 | /** |
723 | * Own public key. | 723 | * Own public key. |
724 | */ | 724 | */ |
725 | static struct GNUNET_CRYPTO_EccPublicKey my_public_key; | 725 | static struct GNUNET_CRYPTO_EccPublicSignKey my_public_key; |
726 | 726 | ||
727 | /** | 727 | /** |
728 | * Tunnel ID for the next created tunnel (global tunnel number). | 728 | * Tunnel ID for the next created tunnel (global tunnel number). |
@@ -5902,7 +5902,7 @@ run (void *cls, struct GNUNET_SERVER_Handle *server, | |||
5902 | GNUNET_free (keyfile); | 5902 | GNUNET_free (keyfile); |
5903 | GNUNET_assert (NULL != pk); | 5903 | GNUNET_assert (NULL != pk); |
5904 | my_private_key = pk; | 5904 | my_private_key = pk; |
5905 | GNUNET_CRYPTO_ecc_key_get_public (my_private_key, &my_public_key); | 5905 | GNUNET_CRYPTO_ecc_key_get_public_for_signature (my_private_key, &my_public_key); |
5906 | GNUNET_CRYPTO_hash (&my_public_key, sizeof (my_public_key), | 5906 | GNUNET_CRYPTO_hash (&my_public_key, sizeof (my_public_key), |
5907 | &my_full_id.hashPubKey); | 5907 | &my_full_id.hashPubKey); |
5908 | myid = GNUNET_PEER_intern (&my_full_id); | 5908 | myid = GNUNET_PEER_intern (&my_full_id); |