diff options
Diffstat (limited to 'src/gns/test_gns_simple_zkey_lookup.c')
-rw-r--r-- | src/gns/test_gns_simple_zkey_lookup.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/gns/test_gns_simple_zkey_lookup.c b/src/gns/test_gns_simple_zkey_lookup.c index dd1a3f7bd..923664b77 100644 --- a/src/gns/test_gns_simple_zkey_lookup.c +++ b/src/gns/test_gns_simple_zkey_lookup.c | |||
@@ -199,11 +199,11 @@ do_check (void *cls, | |||
199 | const struct GNUNET_CONFIGURATION_Handle *ccfg, | 199 | const struct GNUNET_CONFIGURATION_Handle *ccfg, |
200 | struct GNUNET_TESTING_Peer *peer) | 200 | struct GNUNET_TESTING_Peer *peer) |
201 | { | 201 | { |
202 | struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded alice_pkey; | 202 | struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded alice_pkey; |
203 | struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded bob_pkey; | 203 | struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded bob_pkey; |
204 | struct GNUNET_CRYPTO_RsaPrivateKey *alice_key; | 204 | struct GNUNET_CRYPTO_EccPrivateKey *alice_key; |
205 | struct GNUNET_CRYPTO_RsaPrivateKey *bob_key; | 205 | struct GNUNET_CRYPTO_EccPrivateKey *bob_key; |
206 | struct GNUNET_CRYPTO_RsaSignature *sig; | 206 | struct GNUNET_CRYPTO_EccSignature *sig; |
207 | char* alice_keyfile; | 207 | char* alice_keyfile; |
208 | 208 | ||
209 | cfg = ccfg; | 209 | cfg = ccfg; |
@@ -227,11 +227,11 @@ do_check (void *cls, | |||
227 | return; | 227 | return; |
228 | } | 228 | } |
229 | 229 | ||
230 | alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (alice_keyfile); | 230 | alice_key = GNUNET_CRYPTO_ecc_key_create_from_file (alice_keyfile); |
231 | bob_key = GNUNET_CRYPTO_rsa_key_create_from_file (KEYFILE_BOB); | 231 | bob_key = GNUNET_CRYPTO_ecc_key_create_from_file (KEYFILE_BOB); |
232 | 232 | ||
233 | GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey); | 233 | GNUNET_CRYPTO_ecc_key_get_public (alice_key, &alice_pkey); |
234 | GNUNET_CRYPTO_rsa_key_get_public (bob_key, &bob_pkey); | 234 | GNUNET_CRYPTO_ecc_key_get_public (bob_key, &bob_pkey); |
235 | 235 | ||
236 | struct GNUNET_NAMESTORE_RecordData rd; | 236 | struct GNUNET_NAMESTORE_RecordData rd; |
237 | char* ip = TEST_IP; | 237 | char* ip = TEST_IP; |
@@ -273,8 +273,8 @@ do_check (void *cls, | |||
273 | GNUNET_free (alice_keyfile); | 273 | GNUNET_free (alice_keyfile); |
274 | GNUNET_free (web); | 274 | GNUNET_free (web); |
275 | GNUNET_free (sig); | 275 | GNUNET_free (sig); |
276 | GNUNET_CRYPTO_rsa_key_free (bob_key); | 276 | GNUNET_CRYPTO_ecc_key_free (bob_key); |
277 | GNUNET_CRYPTO_rsa_key_free (alice_key); | 277 | GNUNET_CRYPTO_ecc_key_free (alice_key); |
278 | } | 278 | } |
279 | 279 | ||
280 | 280 | ||