aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_simple_lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/test_gns_simple_lookup.c')
-rw-r--r--src/gns/test_gns_simple_lookup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/test_gns_simple_lookup.c b/src/gns/test_gns_simple_lookup.c
index 73e479464..cc2abeff7 100644
--- a/src/gns/test_gns_simple_lookup.c
+++ b/src/gns/test_gns_simple_lookup.c
@@ -221,7 +221,7 @@ do_check (void *cls,
221 const struct GNUNET_CONFIGURATION_Handle *ccfg, 221 const struct GNUNET_CONFIGURATION_Handle *ccfg,
222 struct GNUNET_TESTING_Peer *peer) 222 struct GNUNET_TESTING_Peer *peer)
223{ 223{
224 struct GNUNET_CRYPTO_EccPublicKey alice_pkey; 224 struct GNUNET_CRYPTO_EccPublicSignKey alice_pkey;
225 struct GNUNET_CRYPTO_EccPrivateKey *alice_key; 225 struct GNUNET_CRYPTO_EccPrivateKey *alice_key;
226 struct GNUNET_NAMESTORE_RecordData rd; 226 struct GNUNET_NAMESTORE_RecordData rd;
227 char* alice_keyfile; 227 char* alice_keyfile;
@@ -252,7 +252,7 @@ do_check (void *cls,
252 } 252 }
253 253
254 alice_key = GNUNET_CRYPTO_ecc_key_create_from_file (alice_keyfile); 254 alice_key = GNUNET_CRYPTO_ecc_key_create_from_file (alice_keyfile);
255 GNUNET_CRYPTO_ecc_key_get_public (alice_key, &alice_pkey); 255 GNUNET_CRYPTO_ecc_key_get_public_for_signature (alice_key, &alice_pkey);
256 GNUNET_free (alice_keyfile); 256 GNUNET_free (alice_keyfile);
257 rd.expiration_time = UINT64_MAX; 257 rd.expiration_time = UINT64_MAX;
258 GNUNET_assert (1 == inet_pton (AF_INET, ip, &web)); 258 GNUNET_assert (1 == inet_pton (AF_INET, ip, &web));