diff options
Diffstat (limited to 'src/gns/test_gns_cname_lookup.c')
-rw-r--r-- | src/gns/test_gns_cname_lookup.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gns/test_gns_cname_lookup.c b/src/gns/test_gns_cname_lookup.c index 6870e897a..4d15175e1 100644 --- a/src/gns/test_gns_cname_lookup.c +++ b/src/gns/test_gns_cname_lookup.c | |||
@@ -334,9 +334,9 @@ do_check (void *cls, | |||
334 | const struct GNUNET_CONFIGURATION_Handle *ccfg, | 334 | const struct GNUNET_CONFIGURATION_Handle *ccfg, |
335 | struct GNUNET_TESTING_Peer *peer) | 335 | struct GNUNET_TESTING_Peer *peer) |
336 | { | 336 | { |
337 | struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded alice_pkey; | 337 | struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded alice_pkey; |
338 | struct GNUNET_CRYPTO_RsaPrivateKey *alice_key; | 338 | struct GNUNET_CRYPTO_EccPrivateKey *alice_key; |
339 | struct GNUNET_CRYPTO_RsaPrivateKey *bob_key; | 339 | struct GNUNET_CRYPTO_EccPrivateKey *bob_key; |
340 | char* alice_keyfile; | 340 | char* alice_keyfile; |
341 | struct GNUNET_NAMESTORE_RecordData rd; | 341 | struct GNUNET_NAMESTORE_RecordData rd; |
342 | const char* ip = TEST_IP_PLUS; | 342 | const char* ip = TEST_IP_PLUS; |
@@ -365,11 +365,11 @@ do_check (void *cls, | |||
365 | return; | 365 | return; |
366 | } | 366 | } |
367 | 367 | ||
368 | alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (alice_keyfile); | 368 | alice_key = GNUNET_CRYPTO_ecc_key_create_from_file (alice_keyfile); |
369 | GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey); | 369 | GNUNET_CRYPTO_ecc_key_get_public (alice_key, &alice_pkey); |
370 | GNUNET_free(alice_keyfile); | 370 | GNUNET_free(alice_keyfile); |
371 | 371 | ||
372 | bob_key = GNUNET_CRYPTO_rsa_key_create_from_file (KEYFILE_BOB); | 372 | bob_key = GNUNET_CRYPTO_ecc_key_create_from_file (KEYFILE_BOB); |
373 | 373 | ||
374 | rd.expiration_time = UINT64_MAX; | 374 | rd.expiration_time = UINT64_MAX; |
375 | GNUNET_assert(1 == inet_pton (AF_INET, ip, &web)); | 375 | GNUNET_assert(1 == inet_pton (AF_INET, ip, &web)); |
@@ -429,8 +429,8 @@ do_check (void *cls, | |||
429 | &rd, | 429 | &rd, |
430 | &commence_testing, | 430 | &commence_testing, |
431 | NULL); | 431 | NULL); |
432 | GNUNET_CRYPTO_rsa_key_free(alice_key); | 432 | GNUNET_CRYPTO_ecc_key_free(alice_key); |
433 | GNUNET_CRYPTO_rsa_key_free(bob_key); | 433 | GNUNET_CRYPTO_ecc_key_free(bob_key); |
434 | } | 434 | } |
435 | 435 | ||
436 | 436 | ||