aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_plugin_transport.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/test_plugin_transport.c')
-rw-r--r--src/transport/test_plugin_transport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/test_plugin_transport.c b/src/transport/test_plugin_transport.c
index 97a88beb5..eecb30605 100644
--- a/src/transport/test_plugin_transport.c
+++ b/src/transport/test_plugin_transport.c
@@ -48,7 +48,7 @@
48/** 48/**
49 * Our public key. 49 * Our public key.
50 */ 50 */
51static struct GNUNET_CRYPTO_EccPublicKey my_public_key; 51static struct GNUNET_CRYPTO_EccPublicSignKey my_public_key;
52 52
53/** 53/**
54 * Our identity. 54 * Our identity.
@@ -634,7 +634,7 @@ run (void *cls, char *const *args, const char *cfgfile,
634 end_badly_now (); 634 end_badly_now ();
635 return; 635 return;
636 } 636 }
637 GNUNET_CRYPTO_ecc_key_get_public (my_private_key, &my_public_key); 637 GNUNET_CRYPTO_ecc_key_get_public_for_signature (my_private_key, &my_public_key);
638 GNUNET_CRYPTO_hash (&my_public_key, sizeof (my_public_key), 638 GNUNET_CRYPTO_hash (&my_public_key, sizeof (my_public_key),
639 &my_identity.hashPubKey); 639 &my_identity.hashPubKey);
640 640