From a35c5a11d32bdd0bc24f64de36fbc6b0d0b20aae Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 13 Sep 2013 12:00:01 +0000 Subject: splitting 'struct GNUNET_CRYPTO_EccPublicKey' into one struct for signing and another for encryption --- src/transport/test_plugin_transport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/transport/test_plugin_transport.c') 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 @@ /** * Our public key. */ -static struct GNUNET_CRYPTO_EccPublicKey my_public_key; +static struct GNUNET_CRYPTO_EccPublicSignKey my_public_key; /** * Our identity. @@ -634,7 +634,7 @@ run (void *cls, char *const *args, const char *cfgfile, end_badly_now (); return; } - GNUNET_CRYPTO_ecc_key_get_public (my_private_key, &my_public_key); + GNUNET_CRYPTO_ecc_key_get_public_for_signature (my_private_key, &my_public_key); GNUNET_CRYPTO_hash (&my_public_key, sizeof (my_public_key), &my_identity.hashPubKey); -- cgit v1.2.3