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.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gns/test_gns_simple_srv_lookup.c b/src/gns/test_gns_simple_srv_lookup.c
index 76e564f41..f31ae6daa 100644
--- a/src/gns/test_gns_simple_srv_lookup.c
+++ b/src/gns/test_gns_simple_srv_lookup.c
@@ -182,12 +182,12 @@ 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_EccPublicSignKey alice_pkey; 185 struct GNUNET_CRYPTO_EcdsaPublicKey alice_pkey;
186 struct GNUNET_CRYPTO_EccPublicSignKey bob_pkey; 186 struct GNUNET_CRYPTO_EcdsaPublicKey bob_pkey;
187 struct GNUNET_CRYPTO_EccPrivateKey *alice_key; 187 struct GNUNET_CRYPTO_EcdsaPrivateKey *alice_key;
188 struct GNUNET_CRYPTO_EccPrivateKey *bob_key; 188 struct GNUNET_CRYPTO_EcdsaPrivateKey *bob_key;
189 struct GNUNET_CRYPTO_ShortHashCode bob_hash; 189 struct GNUNET_CRYPTO_ShortHashCode bob_hash;
190 struct GNUNET_CRYPTO_EccSignature *sig; 190 struct GNUNET_CRYPTO_EcdsaSignature *sig;
191 char* alice_keyfile; 191 char* alice_keyfile;
192 struct GNUNET_TUN_DnsSrvRecord *srv_data; 192 struct GNUNET_TUN_DnsSrvRecord *srv_data;
193 struct GNUNET_TIME_Absolute et; 193 struct GNUNET_TIME_Absolute et;
@@ -213,11 +213,11 @@ do_check (void *cls,
213 return; 213 return;
214 } 214 }
215 215
216 alice_key = GNUNET_CRYPTO_ecc_key_create_from_file (alice_keyfile); 216 alice_key = GNUNET_CRYPTO_ecdsa_key_create_from_file (alice_keyfile);
217 bob_key = GNUNET_CRYPTO_ecc_key_create_from_file (KEYFILE_BOB); 217 bob_key = GNUNET_CRYPTO_ecdsa_key_create_from_file (KEYFILE_BOB);
218 218
219 GNUNET_CRYPTO_ecc_key_get_public_for_signature (alice_key, &alice_pkey); 219 GNUNET_CRYPTO_ecdsa_key_get_public (alice_key, &alice_pkey);
220 GNUNET_CRYPTO_ecc_key_get_public_for_signature (bob_key, &bob_pkey); 220 GNUNET_CRYPTO_ecdsa_key_get_public (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;