aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_simple_srv_lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/test_gns_simple_srv_lookup.c')
-rw-r--r--src/gns/test_gns_simple_srv_lookup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gns/test_gns_simple_srv_lookup.c b/src/gns/test_gns_simple_srv_lookup.c
index 9e0b89555..7efa57803 100644
--- a/src/gns/test_gns_simple_srv_lookup.c
+++ b/src/gns/test_gns_simple_srv_lookup.c
@@ -182,8 +182,8 @@ do_check (void *cls,
182 const struct GNUNET_CONFIGURATION_Handle *ccfg, 182 const struct GNUNET_CONFIGURATION_Handle *ccfg,
183 struct GNUNET_TESTING_Peer *peer) 183 struct GNUNET_TESTING_Peer *peer)
184{ 184{
185 struct GNUNET_CRYPTO_EccPublicKey alice_pkey; 185 struct GNUNET_CRYPTO_EccPublicSignKey alice_pkey;
186 struct GNUNET_CRYPTO_EccPublicKey bob_pkey; 186 struct GNUNET_CRYPTO_EccPublicSignKey bob_pkey;
187 struct GNUNET_CRYPTO_EccPrivateKey *alice_key; 187 struct GNUNET_CRYPTO_EccPrivateKey *alice_key;
188 struct GNUNET_CRYPTO_EccPrivateKey *bob_key; 188 struct GNUNET_CRYPTO_EccPrivateKey *bob_key;
189 struct GNUNET_CRYPTO_ShortHashCode bob_hash; 189 struct GNUNET_CRYPTO_ShortHashCode bob_hash;
@@ -216,8 +216,8 @@ do_check (void *cls,
216 alice_key = GNUNET_CRYPTO_ecc_key_create_from_file (alice_keyfile); 216 alice_key = GNUNET_CRYPTO_ecc_key_create_from_file (alice_keyfile);
217 bob_key = GNUNET_CRYPTO_ecc_key_create_from_file (KEYFILE_BOB); 217 bob_key = GNUNET_CRYPTO_ecc_key_create_from_file (KEYFILE_BOB);
218 218
219 GNUNET_CRYPTO_ecc_key_get_public (alice_key, &alice_pkey); 219 GNUNET_CRYPTO_ecc_key_get_public_for_signature (alice_key, &alice_pkey);
220 GNUNET_CRYPTO_ecc_key_get_public (bob_key, &bob_pkey); 220 GNUNET_CRYPTO_ecc_key_get_public_for_signature (bob_key, &bob_pkey);
221 221
222 struct GNUNET_NAMESTORE_RecordData rd; 222 struct GNUNET_NAMESTORE_RecordData rd;
223 char* ip = TEST_IP; 223 char* ip = TEST_IP;