aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_simple_mx_lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/test_gns_simple_mx_lookup.c')
-rw-r--r--src/gns/test_gns_simple_mx_lookup.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/gns/test_gns_simple_mx_lookup.c b/src/gns/test_gns_simple_mx_lookup.c
index cfaea67ad..f928a3913 100644
--- a/src/gns/test_gns_simple_mx_lookup.c
+++ b/src/gns/test_gns_simple_mx_lookup.c
@@ -180,12 +180,12 @@ do_check (void *cls,
180 const struct GNUNET_CONFIGURATION_Handle *ccfg, 180 const struct GNUNET_CONFIGURATION_Handle *ccfg,
181 struct GNUNET_TESTING_Peer *peer) 181 struct GNUNET_TESTING_Peer *peer)
182{ 182{
183 struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded alice_pkey; 183 struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded alice_pkey;
184 struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded bob_pkey; 184 struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded bob_pkey;
185 struct GNUNET_CRYPTO_RsaPrivateKey *alice_key; 185 struct GNUNET_CRYPTO_EccPrivateKey *alice_key;
186 struct GNUNET_CRYPTO_RsaPrivateKey *bob_key; 186 struct GNUNET_CRYPTO_EccPrivateKey *bob_key;
187 struct GNUNET_CRYPTO_ShortHashCode bob_hash; 187 struct GNUNET_CRYPTO_ShortHashCode bob_hash;
188 struct GNUNET_CRYPTO_RsaSignature *sig; 188 struct GNUNET_CRYPTO_EccSignature *sig;
189 char* alice_keyfile; 189 char* alice_keyfile;
190 struct GNUNET_TIME_Absolute et; 190 struct GNUNET_TIME_Absolute et;
191 191
@@ -210,11 +210,11 @@ do_check (void *cls,
210 return; 210 return;
211 } 211 }
212 212
213 alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (alice_keyfile); 213 alice_key = GNUNET_CRYPTO_ecc_key_create_from_file (alice_keyfile);
214 bob_key = GNUNET_CRYPTO_rsa_key_create_from_file (KEYFILE_BOB); 214 bob_key = GNUNET_CRYPTO_ecc_key_create_from_file (KEYFILE_BOB);
215 215
216 GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey); 216 GNUNET_CRYPTO_ecc_key_get_public (alice_key, &alice_pkey);
217 GNUNET_CRYPTO_rsa_key_get_public (bob_key, &bob_pkey); 217 GNUNET_CRYPTO_ecc_key_get_public (bob_key, &bob_pkey);
218 218
219 struct GNUNET_NAMESTORE_RecordData rd; 219 struct GNUNET_NAMESTORE_RecordData rd;
220 char* ip = TEST_IP; 220 char* ip = TEST_IP;
@@ -282,8 +282,8 @@ do_check (void *cls,
282 GNUNET_free (mx_record); 282 GNUNET_free (mx_record);
283 GNUNET_free (mail); 283 GNUNET_free (mail);
284 GNUNET_free (sig); 284 GNUNET_free (sig);
285 GNUNET_CRYPTO_rsa_key_free (bob_key); 285 GNUNET_CRYPTO_ecc_key_free (bob_key);
286 GNUNET_CRYPTO_rsa_key_free (alice_key); 286 GNUNET_CRYPTO_ecc_key_free (alice_key);
287} 287}
288 288
289 289