diff options
Diffstat (limited to 'src/gns/test_gns_dht_delegated_lookup.c')
-rw-r--r-- | src/gns/test_gns_dht_delegated_lookup.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gns/test_gns_dht_delegated_lookup.c b/src/gns/test_gns_dht_delegated_lookup.c index 7379a8f20..2950f896a 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; | |||
65 | 65 | ||
66 | static const struct GNUNET_CONFIGURATION_Handle *cfg; | 66 | static const struct GNUNET_CONFIGURATION_Handle *cfg; |
67 | 67 | ||
68 | static struct GNUNET_CRYPTO_EccPublicKey alice_pkey; | 68 | static struct GNUNET_CRYPTO_EccPublicSignKey alice_pkey; |
69 | static struct GNUNET_CRYPTO_EccPublicKey bob_pkey; | 69 | static struct GNUNET_CRYPTO_EccPublicSignKey bob_pkey; |
70 | static struct GNUNET_CRYPTO_EccPrivateKey *alice_key; | 70 | static struct GNUNET_CRYPTO_EccPrivateKey *alice_key; |
71 | static struct GNUNET_CRYPTO_EccPrivateKey *bob_key; | 71 | static struct GNUNET_CRYPTO_EccPrivateKey *bob_key; |
72 | 72 | ||
@@ -262,7 +262,7 @@ put_dht(void *cls, int32_t success, const char *emsg) | |||
262 | } | 262 | } |
263 | GNUNET_CRYPTO_short_hash(TEST_RECORD_NAME, strlen(TEST_RECORD_NAME), &name_hash); | 263 | GNUNET_CRYPTO_short_hash(TEST_RECORD_NAME, strlen(TEST_RECORD_NAME), &name_hash); |
264 | GNUNET_CRYPTO_short_hash(&bob_pkey, | 264 | GNUNET_CRYPTO_short_hash(&bob_pkey, |
265 | sizeof(struct GNUNET_CRYPTO_EccPublicKey), | 265 | sizeof(struct GNUNET_CRYPTO_EccPublicSignKey), |
266 | &zone_hash); | 266 | &zone_hash); |
267 | GNUNET_CRYPTO_short_hash_double(&zone_hash, &zone_hash_double); | 267 | GNUNET_CRYPTO_short_hash_double(&zone_hash, &zone_hash_double); |
268 | GNUNET_CRYPTO_short_hash_double(&name_hash, &name_hash_double); | 268 | GNUNET_CRYPTO_short_hash_double(&name_hash, &name_hash_double); |
@@ -335,8 +335,8 @@ do_check (void *cls, | |||
335 | 335 | ||
336 | GNUNET_free(alice_keyfile); | 336 | GNUNET_free(alice_keyfile); |
337 | 337 | ||
338 | GNUNET_CRYPTO_ecc_key_get_public (alice_key, &alice_pkey); | 338 | GNUNET_CRYPTO_ecc_key_get_public_for_signature (alice_key, &alice_pkey); |
339 | GNUNET_CRYPTO_ecc_key_get_public (bob_key, &bob_pkey); | 339 | GNUNET_CRYPTO_ecc_key_get_public_for_signature (bob_key, &bob_pkey); |
340 | GNUNET_CRYPTO_short_hash(&bob_pkey, sizeof(bob_pkey), &bob_hash); | 340 | GNUNET_CRYPTO_short_hash(&bob_pkey, sizeof(bob_pkey), &bob_hash); |
341 | 341 | ||
342 | struct GNUNET_NAMESTORE_RecordData rd; | 342 | struct GNUNET_NAMESTORE_RecordData rd; |