From fe76c075e315c0351e2fe465434ae39087daf014 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 6 Aug 2013 14:18:31 +0000 Subject: moving to new, fixed-size encoding of public and private ECC keys everywhere, also improving ECC API to better support ECRS/GADS operations --- src/gns/test_gns_dht_delegated_lookup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gns/test_gns_dht_delegated_lookup.c') diff --git a/src/gns/test_gns_dht_delegated_lookup.c b/src/gns/test_gns_dht_delegated_lookup.c index e743e0fd3..fbaacfdfa 100644 --- a/src/gns/test_gns_dht_delegated_lookup.c +++ b/src/gns/test_gns_dht_delegated_lookup.c @@ -65,8 +65,8 @@ static struct GNUNET_DHT_Handle *dht_handle; static const struct GNUNET_CONFIGURATION_Handle *cfg; -static struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded alice_pkey; -static struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded bob_pkey; +static struct GNUNET_CRYPTO_EccPublicKey alice_pkey; +static struct GNUNET_CRYPTO_EccPublicKey bob_pkey; static struct GNUNET_CRYPTO_EccPrivateKey *alice_key; static struct GNUNET_CRYPTO_EccPrivateKey *bob_key; @@ -262,7 +262,7 @@ put_dht(void *cls, int32_t success, const char *emsg) } GNUNET_CRYPTO_short_hash(TEST_RECORD_NAME, strlen(TEST_RECORD_NAME), &name_hash); GNUNET_CRYPTO_short_hash(&bob_pkey, - sizeof(struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded), + sizeof(struct GNUNET_CRYPTO_EccPublicKey), &zone_hash); GNUNET_CRYPTO_short_hash_double(&zone_hash, &zone_hash_double); GNUNET_CRYPTO_short_hash_double(&name_hash, &name_hash_double); -- cgit v1.2.3