diff options
Diffstat (limited to 'src/gns/test_gns_dht_three_peers.c')
-rw-r--r-- | src/gns/test_gns_dht_three_peers.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gns/test_gns_dht_three_peers.c b/src/gns/test_gns_dht_three_peers.c index dd83d52f6..688e355ed 100644 --- a/src/gns/test_gns_dht_three_peers.c +++ b/src/gns/test_gns_dht_three_peers.c | |||
@@ -312,7 +312,7 @@ setup_dave (const struct GNUNET_CONFIGURATION_Handle * cfg) | |||
312 | { | 312 | { |
313 | char* keyfile; | 313 | char* keyfile; |
314 | struct GNUNET_CRYPTO_EccPrivateKey *key; | 314 | struct GNUNET_CRYPTO_EccPrivateKey *key; |
315 | struct GNUNET_CRYPTO_EccPublicKey pkey; | 315 | struct GNUNET_CRYPTO_EccPublicSignKey pkey; |
316 | struct in_addr *web; | 316 | struct in_addr *web; |
317 | struct GNUNET_NAMESTORE_RecordData rd; | 317 | struct GNUNET_NAMESTORE_RecordData rd; |
318 | 318 | ||
@@ -344,7 +344,7 @@ setup_dave (const struct GNUNET_CONFIGURATION_Handle * cfg) | |||
344 | return GNUNET_SYSERR; | 344 | return GNUNET_SYSERR; |
345 | } | 345 | } |
346 | 346 | ||
347 | GNUNET_CRYPTO_ecc_key_get_public (key, &pkey); | 347 | GNUNET_CRYPTO_ecc_key_get_public_for_signature (key, &pkey); |
348 | GNUNET_CRYPTO_short_hash(&pkey, sizeof(pkey), &dave_hash); | 348 | GNUNET_CRYPTO_short_hash(&pkey, sizeof(pkey), &dave_hash); |
349 | 349 | ||
350 | rd.expiration_time = UINT64_MAX; | 350 | rd.expiration_time = UINT64_MAX; |
@@ -383,7 +383,7 @@ setup_bob (const struct GNUNET_CONFIGURATION_Handle * cfg) | |||
383 | { | 383 | { |
384 | char* keyfile; | 384 | char* keyfile; |
385 | struct GNUNET_CRYPTO_EccPrivateKey *key; | 385 | struct GNUNET_CRYPTO_EccPrivateKey *key; |
386 | struct GNUNET_CRYPTO_EccPublicKey pkey; | 386 | struct GNUNET_CRYPTO_EccPublicSignKey pkey; |
387 | struct GNUNET_NAMESTORE_RecordData rd; | 387 | struct GNUNET_NAMESTORE_RecordData rd; |
388 | 388 | ||
389 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Setting up bob\n"); | 389 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Setting up bob\n"); |
@@ -415,7 +415,7 @@ setup_bob (const struct GNUNET_CONFIGURATION_Handle * cfg) | |||
415 | return GNUNET_SYSERR; | 415 | return GNUNET_SYSERR; |
416 | } | 416 | } |
417 | 417 | ||
418 | GNUNET_CRYPTO_ecc_key_get_public (key, &pkey); | 418 | GNUNET_CRYPTO_ecc_key_get_public_for_signature (key, &pkey); |
419 | GNUNET_CRYPTO_short_hash(&pkey, sizeof(pkey), &bob_hash); | 419 | GNUNET_CRYPTO_short_hash(&pkey, sizeof(pkey), &bob_hash); |
420 | 420 | ||
421 | rd.expiration_time = UINT64_MAX; | 421 | rd.expiration_time = UINT64_MAX; |