diff options
Diffstat (limited to 'src/gns/test_gns_simple_get_authority.c')
-rw-r--r-- | src/gns/test_gns_simple_get_authority.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/gns/test_gns_simple_get_authority.c b/src/gns/test_gns_simple_get_authority.c index 111f8f1f9..300e7be5b 100644 --- a/src/gns/test_gns_simple_get_authority.c +++ b/src/gns/test_gns_simple_get_authority.c | |||
@@ -178,15 +178,15 @@ void do_check (void *cls, | |||
178 | const struct GNUNET_CONFIGURATION_Handle *ccfg, | 178 | const struct GNUNET_CONFIGURATION_Handle *ccfg, |
179 | struct GNUNET_TESTING_Peer *peer) | 179 | struct GNUNET_TESTING_Peer *peer) |
180 | { | 180 | { |
181 | struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded our_pkey; | 181 | struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded our_pkey; |
182 | struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded alice_pkey; | 182 | struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded alice_pkey; |
183 | struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded bob_pkey; | 183 | struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded bob_pkey; |
184 | struct GNUNET_CRYPTO_RsaPrivateKey *our_key; | 184 | struct GNUNET_CRYPTO_EccPrivateKey *our_key; |
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_ShortHashCode alice_hash; | 188 | struct GNUNET_CRYPTO_ShortHashCode alice_hash; |
189 | struct GNUNET_CRYPTO_RsaSignature *sig; | 189 | struct GNUNET_CRYPTO_EccSignature *sig; |
190 | char* our_keyfile; | 190 | char* our_keyfile; |
191 | 191 | ||
192 | cfg = ccfg; | 192 | cfg = ccfg; |
@@ -211,15 +211,15 @@ void do_check (void *cls, | |||
211 | return; | 211 | return; |
212 | } | 212 | } |
213 | 213 | ||
214 | our_key = GNUNET_CRYPTO_rsa_key_create_from_file (our_keyfile); | 214 | our_key = GNUNET_CRYPTO_ecc_key_create_from_file (our_keyfile); |
215 | GNUNET_free(our_keyfile); | 215 | GNUNET_free(our_keyfile); |
216 | 216 | ||
217 | bob_key = GNUNET_CRYPTO_rsa_key_create_from_file (KEYFILE_BOB); | 217 | bob_key = GNUNET_CRYPTO_ecc_key_create_from_file (KEYFILE_BOB); |
218 | alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (KEYFILE_ALICE); | 218 | alice_key = GNUNET_CRYPTO_ecc_key_create_from_file (KEYFILE_ALICE); |
219 | 219 | ||
220 | GNUNET_CRYPTO_rsa_key_get_public (our_key, &our_pkey); | 220 | GNUNET_CRYPTO_ecc_key_get_public (our_key, &our_pkey); |
221 | GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey); | 221 | GNUNET_CRYPTO_ecc_key_get_public (alice_key, &alice_pkey); |
222 | GNUNET_CRYPTO_rsa_key_get_public (bob_key, &bob_pkey); | 222 | GNUNET_CRYPTO_ecc_key_get_public (bob_key, &bob_pkey); |
223 | 223 | ||
224 | struct GNUNET_NAMESTORE_RecordData rd; | 224 | struct GNUNET_NAMESTORE_RecordData rd; |
225 | char* ip = TEST_IP; | 225 | char* ip = TEST_IP; |
@@ -298,9 +298,9 @@ void do_check (void *cls, | |||
298 | 298 | ||
299 | GNUNET_free (web); | 299 | GNUNET_free (web); |
300 | GNUNET_free (sig); | 300 | GNUNET_free (sig); |
301 | GNUNET_CRYPTO_rsa_key_free (alice_key); | 301 | GNUNET_CRYPTO_ecc_key_free (alice_key); |
302 | GNUNET_CRYPTO_rsa_key_free (bob_key); | 302 | GNUNET_CRYPTO_ecc_key_free (bob_key); |
303 | GNUNET_CRYPTO_rsa_key_free (our_key); | 303 | GNUNET_CRYPTO_ecc_key_free (our_key); |
304 | } | 304 | } |
305 | 305 | ||
306 | 306 | ||