diff options
Diffstat (limited to 'src/mesh/gnunet-service-mesh-enc.c')
-rw-r--r-- | src/mesh/gnunet-service-mesh-enc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesh/gnunet-service-mesh-enc.c b/src/mesh/gnunet-service-mesh-enc.c index 758725877..e682f5b60 100644 --- a/src/mesh/gnunet-service-mesh-enc.c +++ b/src/mesh/gnunet-service-mesh-enc.c | |||
@@ -675,12 +675,12 @@ struct MeshTunnel2 | |||
675 | /** | 675 | /** |
676 | * Local peer ephemeral public key | 676 | * Local peer ephemeral public key |
677 | */ | 677 | */ |
678 | struct GNUNET_CRYPTO_EccPublicKey *my_eph; | 678 | struct GNUNET_CRYPTO_EccPublicSignKey *my_eph; |
679 | 679 | ||
680 | /** | 680 | /** |
681 | * Remote peer's public key. | 681 | * Remote peer's public key. |
682 | */ | 682 | */ |
683 | struct GNUNET_CRYPTO_EccPublicKey *peers_eph; | 683 | struct GNUNET_CRYPTO_EccPublicSignKey *peers_eph; |
684 | 684 | ||
685 | /** | 685 | /** |
686 | * Encryption ("our") key. | 686 | * Encryption ("our") key. |
@@ -934,7 +934,7 @@ static struct GNUNET_CRYPTO_EccPrivateKey *my_private_key; | |||
934 | /** | 934 | /** |
935 | * Own public key. | 935 | * Own public key. |
936 | */ | 936 | */ |
937 | static struct GNUNET_CRYPTO_EccPublicKey my_public_key; | 937 | static struct GNUNET_CRYPTO_EccPublicSignKey my_public_key; |
938 | 938 | ||
939 | /** | 939 | /** |
940 | * All ports clients of this peer have opened. | 940 | * All ports clients of this peer have opened. |
@@ -7273,7 +7273,7 @@ run (void *cls, struct GNUNET_SERVER_Handle *server, | |||
7273 | pk = GNUNET_CRYPTO_ecc_key_create_from_configuration (c); | 7273 | pk = GNUNET_CRYPTO_ecc_key_create_from_configuration (c); |
7274 | GNUNET_assert (NULL != pk); | 7274 | GNUNET_assert (NULL != pk); |
7275 | my_private_key = pk; | 7275 | my_private_key = pk; |
7276 | GNUNET_CRYPTO_ecc_key_get_public (my_private_key, &my_public_key); | 7276 | GNUNET_CRYPTO_ecc_key_get_public_for_signature (my_private_key, &my_public_key); |
7277 | GNUNET_CRYPTO_hash (&my_public_key, sizeof (my_public_key), | 7277 | GNUNET_CRYPTO_hash (&my_public_key, sizeof (my_public_key), |
7278 | &my_full_id.hashPubKey); | 7278 | &my_full_id.hashPubKey); |
7279 | myid = GNUNET_PEER_intern (&my_full_id); | 7279 | myid = GNUNET_PEER_intern (&my_full_id); |