diff options
Diffstat (limited to 'src/gns/test_gns_revocation.c')
-rw-r--r-- | src/gns/test_gns_revocation.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gns/test_gns_revocation.c b/src/gns/test_gns_revocation.c index 30fe5eb66..5be15759a 100644 --- a/src/gns/test_gns_revocation.c +++ b/src/gns/test_gns_revocation.c | |||
@@ -181,12 +181,12 @@ do_check (void *cls, | |||
181 | const struct GNUNET_CONFIGURATION_Handle *ccfg, | 181 | const struct GNUNET_CONFIGURATION_Handle *ccfg, |
182 | struct GNUNET_TESTING_Peer *peer) | 182 | struct GNUNET_TESTING_Peer *peer) |
183 | { | 183 | { |
184 | struct GNUNET_CRYPTO_EccPublicSignKey alice_pkey; | 184 | struct GNUNET_CRYPTO_EcdsaPublicKey alice_pkey; |
185 | struct GNUNET_CRYPTO_EccPublicSignKey bob_pkey; | 185 | struct GNUNET_CRYPTO_EcdsaPublicKey bob_pkey; |
186 | struct GNUNET_CRYPTO_EccPrivateKey *alice_key; | 186 | struct GNUNET_CRYPTO_EcdsaPrivateKey *alice_key; |
187 | struct GNUNET_CRYPTO_EccPrivateKey *bob_key; | 187 | struct GNUNET_CRYPTO_EcdsaPrivateKey *bob_key; |
188 | struct GNUNET_CRYPTO_ShortHashCode bob_hash; | 188 | struct GNUNET_CRYPTO_ShortHashCode bob_hash; |
189 | struct GNUNET_CRYPTO_EccSignature *sig; | 189 | struct GNUNET_CRYPTO_EcdsaSignature *sig; |
190 | char* alice_keyfile; | 190 | char* alice_keyfile; |
191 | 191 | ||
192 | cfg = ccfg; | 192 | cfg = ccfg; |
@@ -210,11 +210,11 @@ do_check (void *cls, | |||
210 | return; | 210 | return; |
211 | } | 211 | } |
212 | 212 | ||
213 | alice_key = GNUNET_CRYPTO_ecc_key_create_from_file (alice_keyfile); | 213 | alice_key = GNUNET_CRYPTO_ecdsa_key_create_from_file (alice_keyfile); |
214 | bob_key = GNUNET_CRYPTO_ecc_key_create_from_file (KEYFILE_BOB); | 214 | bob_key = GNUNET_CRYPTO_ecdsa_key_create_from_file (KEYFILE_BOB); |
215 | 215 | ||
216 | GNUNET_CRYPTO_ecc_key_get_public_for_signature (alice_key, &alice_pkey); | 216 | GNUNET_CRYPTO_ecdsa_key_get_public (alice_key, &alice_pkey); |
217 | GNUNET_CRYPTO_ecc_key_get_public_for_signature (bob_key, &bob_pkey); | 217 | GNUNET_CRYPTO_ecdsa_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; |