diff options
Diffstat (limited to 'src/gns/test_gns_simple_lookup.c')
-rw-r--r-- | src/gns/test_gns_simple_lookup.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gns/test_gns_simple_lookup.c b/src/gns/test_gns_simple_lookup.c index 96283df5b..ff325a464 100644 --- a/src/gns/test_gns_simple_lookup.c +++ b/src/gns/test_gns_simple_lookup.c | |||
@@ -221,8 +221,8 @@ 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_RsaPublicKeyBinaryEncoded alice_pkey; | 224 | struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded alice_pkey; |
225 | struct GNUNET_CRYPTO_RsaPrivateKey *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; |
228 | char* ip = TEST_IP; | 228 | char* ip = TEST_IP; |
@@ -251,8 +251,8 @@ do_check (void *cls, | |||
251 | return; | 251 | return; |
252 | } | 252 | } |
253 | 253 | ||
254 | alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (alice_keyfile); | 254 | alice_key = GNUNET_CRYPTO_ecc_key_create_from_file (alice_keyfile); |
255 | GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey); | 255 | GNUNET_CRYPTO_ecc_key_get_public (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)); |
@@ -266,7 +266,7 @@ do_check (void *cls, | |||
266 | &rd, | 266 | &rd, |
267 | &commence_testing, | 267 | &commence_testing, |
268 | NULL); | 268 | NULL); |
269 | GNUNET_CRYPTO_rsa_key_free (alice_key); | 269 | GNUNET_CRYPTO_ecc_key_free (alice_key); |
270 | } | 270 | } |
271 | 271 | ||
272 | 272 | ||