diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-09-13 12:00:01 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-09-13 12:00:01 +0000 |
commit | a35c5a11d32bdd0bc24f64de36fbc6b0d0b20aae (patch) | |
tree | b7768c5cb22e8a4f84d51cbd06dc04861fdb8510 /src/transport/gnunet-service-transport.c | |
parent | 95d42fdcb47eedcf2747614a22dacd676bc7faae (diff) | |
download | gnunet-a35c5a11d32bdd0bc24f64de36fbc6b0d0b20aae.tar.gz gnunet-a35c5a11d32bdd0bc24f64de36fbc6b0d0b20aae.zip |
splitting 'struct GNUNET_CRYPTO_EccPublicKey' into one struct for signing and another for encryption
Diffstat (limited to 'src/transport/gnunet-service-transport.c')
-rw-r--r-- | src/transport/gnunet-service-transport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c index 50cd367d5..6291266f6 100644 --- a/src/transport/gnunet-service-transport.c +++ b/src/transport/gnunet-service-transport.c | |||
@@ -70,7 +70,7 @@ static struct GNUNET_SERVER_Handle *GST_server; | |||
70 | /** | 70 | /** |
71 | * Our public key. | 71 | * Our public key. |
72 | */ | 72 | */ |
73 | struct GNUNET_CRYPTO_EccPublicKey GST_my_public_key; | 73 | struct GNUNET_CRYPTO_EccPublicSignKey GST_my_public_key; |
74 | 74 | ||
75 | /** | 75 | /** |
76 | * Our private key. | 76 | * Our private key. |
@@ -769,7 +769,7 @@ run (void *cls, struct GNUNET_SERVER_Handle *server, | |||
769 | 769 | ||
770 | GST_stats = GNUNET_STATISTICS_create ("transport", GST_cfg); | 770 | GST_stats = GNUNET_STATISTICS_create ("transport", GST_cfg); |
771 | GST_peerinfo = GNUNET_PEERINFO_connect (GST_cfg); | 771 | GST_peerinfo = GNUNET_PEERINFO_connect (GST_cfg); |
772 | GNUNET_CRYPTO_ecc_key_get_public (GST_my_private_key, &GST_my_public_key); | 772 | GNUNET_CRYPTO_ecc_key_get_public_for_signature (GST_my_private_key, &GST_my_public_key); |
773 | GNUNET_CRYPTO_hash (&GST_my_public_key, sizeof (GST_my_public_key), | 773 | GNUNET_CRYPTO_hash (&GST_my_public_key, sizeof (GST_my_public_key), |
774 | &GST_my_identity.hashPubKey); | 774 | &GST_my_identity.hashPubKey); |
775 | GNUNET_assert (NULL != GST_my_private_key); | 775 | GNUNET_assert (NULL != GST_my_private_key); |