diff options
Diffstat (limited to 'src/transport/test_plugin_transport.c')
-rw-r--r-- | src/transport/test_plugin_transport.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/test_plugin_transport.c b/src/transport/test_plugin_transport.c index ba16d539d..98806fbb8 100644 --- a/src/transport/test_plugin_transport.c +++ b/src/transport/test_plugin_transport.c | |||
@@ -49,7 +49,7 @@ static struct GNUNET_PeerIdentity my_identity; | |||
49 | /** | 49 | /** |
50 | * Our private key. | 50 | * Our private key. |
51 | */ | 51 | */ |
52 | static struct GNUNET_CRYPTO_EccPrivateKey *my_private_key; | 52 | static struct GNUNET_CRYPTO_EddsaPrivateKey *my_private_key; |
53 | 53 | ||
54 | /** | 54 | /** |
55 | * Our configuration. | 55 | * Our configuration. |
@@ -617,7 +617,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
617 | 617 | ||
618 | 618 | ||
619 | max_connect_per_transport = (uint32_t) tneigh; | 619 | max_connect_per_transport = (uint32_t) tneigh; |
620 | my_private_key = GNUNET_CRYPTO_ecc_key_create_from_file (keyfile); | 620 | my_private_key = GNUNET_CRYPTO_eddsa_key_create_from_file (keyfile); |
621 | GNUNET_free (keyfile); | 621 | GNUNET_free (keyfile); |
622 | if (NULL == my_private_key) | 622 | if (NULL == my_private_key) |
623 | { | 623 | { |
@@ -626,7 +626,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
626 | end_badly_now (); | 626 | end_badly_now (); |
627 | return; | 627 | return; |
628 | } | 628 | } |
629 | GNUNET_CRYPTO_ecc_key_get_public_for_signature (my_private_key, &my_identity.public_key); | 629 | GNUNET_CRYPTO_eddsa_key_get_public (my_private_key, &my_identity.public_key); |
630 | 630 | ||
631 | hello = GNUNET_HELLO_create (&my_identity.public_key, NULL, NULL, GNUNET_NO); | 631 | hello = GNUNET_HELLO_create (&my_identity.public_key, NULL, NULL, GNUNET_NO); |
632 | 632 | ||