aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_cname_lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/test_gns_cname_lookup.c')
-rw-r--r--src/gns/test_gns_cname_lookup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/test_gns_cname_lookup.c b/src/gns/test_gns_cname_lookup.c
index e49a17f22..ee51d4aa5 100644
--- a/src/gns/test_gns_cname_lookup.c
+++ b/src/gns/test_gns_cname_lookup.c
@@ -334,7 +334,7 @@ do_check (void *cls,
334 const struct GNUNET_CONFIGURATION_Handle *ccfg, 334 const struct GNUNET_CONFIGURATION_Handle *ccfg,
335 struct GNUNET_TESTING_Peer *peer) 335 struct GNUNET_TESTING_Peer *peer)
336{ 336{
337 struct GNUNET_CRYPTO_EccPublicKey alice_pkey; 337 struct GNUNET_CRYPTO_EccPublicSignKey alice_pkey;
338 struct GNUNET_CRYPTO_EccPrivateKey *alice_key; 338 struct GNUNET_CRYPTO_EccPrivateKey *alice_key;
339 struct GNUNET_CRYPTO_EccPrivateKey *bob_key; 339 struct GNUNET_CRYPTO_EccPrivateKey *bob_key;
340 char* alice_keyfile; 340 char* alice_keyfile;
@@ -366,7 +366,7 @@ do_check (void *cls,
366 } 366 }
367 367
368 alice_key = GNUNET_CRYPTO_ecc_key_create_from_file (alice_keyfile); 368 alice_key = GNUNET_CRYPTO_ecc_key_create_from_file (alice_keyfile);
369 GNUNET_CRYPTO_ecc_key_get_public (alice_key, &alice_pkey); 369 GNUNET_CRYPTO_ecc_key_get_public_for_signature (alice_key, &alice_pkey);
370 GNUNET_free(alice_keyfile); 370 GNUNET_free(alice_keyfile);
371 371
372 bob_key = GNUNET_CRYPTO_ecc_key_create_from_file (KEYFILE_BOB); 372 bob_key = GNUNET_CRYPTO_ecc_key_create_from_file (KEYFILE_BOB);