aboutsummaryrefslogtreecommitdiff
path: root/src/psycstore/test_plugin_psycstore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/psycstore/test_plugin_psycstore.c')
-rw-r--r--src/psycstore/test_plugin_psycstore.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/psycstore/test_plugin_psycstore.c b/src/psycstore/test_plugin_psycstore.c
index 0a8d4c2bc..ccd3751bf 100644
--- a/src/psycstore/test_plugin_psycstore.c
+++ b/src/psycstore/test_plugin_psycstore.c
@@ -50,11 +50,11 @@ static int ok;
50 */ 50 */
51static const char *plugin_name; 51static const char *plugin_name;
52 52
53static struct GNUNET_CRYPTO_EccPrivateKey *channel_key; 53static struct GNUNET_CRYPTO_EddsaPrivateKey *channel_key;
54static struct GNUNET_CRYPTO_EccPrivateKey *slave_key; 54static struct GNUNET_CRYPTO_EddsaPrivateKey *slave_key;
55 55
56static struct GNUNET_CRYPTO_EccPublicSignKey channel_pub_key; 56static struct GNUNET_CRYPTO_EddsaPublicKey channel_pub_key;
57static struct GNUNET_CRYPTO_EccPublicSignKey slave_pub_key; 57static struct GNUNET_CRYPTO_EddsaPublicKey slave_pub_key;
58 58
59/** 59/**
60 * Function called when the service shuts down. Unloads our psycstore 60 * Function called when the service shuts down. Unloads our psycstore
@@ -177,9 +177,9 @@ run (void *cls, char *const *args, const char *cfgfile,
177 channel_key = GNUNET_CRYPTO_ecc_key_create (); 177 channel_key = GNUNET_CRYPTO_ecc_key_create ();
178 slave_key = GNUNET_CRYPTO_ecc_key_create (); 178 slave_key = GNUNET_CRYPTO_ecc_key_create ();
179 179
180 GNUNET_CRYPTO_ecc_key_get_public_for_signature (channel_key, 180 GNUNET_CRYPTO_eddsa_key_get_public (channel_key,
181 &channel_pub_key); 181 &channel_pub_key);
182 GNUNET_CRYPTO_ecc_key_get_public_for_signature (slave_key, &slave_pub_key); 182 GNUNET_CRYPTO_eddsa_key_get_public (slave_key, &slave_pub_key);
183 183
184 GNUNET_assert (GNUNET_OK == db->membership_store (db->cls, &channel_pub_key, 184 GNUNET_assert (GNUNET_OK == db->membership_store (db->cls, &channel_pub_key,
185 &slave_pub_key, GNUNET_YES, 185 &slave_pub_key, GNUNET_YES,
@@ -218,7 +218,7 @@ run (void *cls, char *const *args, const char *cfgfile,
218 - sizeof (msg->hop_counter) 218 - sizeof (msg->hop_counter)
219 - sizeof (msg->signature)); 219 - sizeof (msg->signature));
220 msg->purpose.purpose = htonl (234); 220 msg->purpose.purpose = htonl (234);
221 GNUNET_CRYPTO_ecc_sign (slave_key, &msg->purpose, &msg->signature); 221 GNUNET_CRYPTO_eddsa_sign (slave_key, &msg->purpose, &msg->signature);
222 222
223 struct FragmentClosure fcls = { 0 }; 223 struct FragmentClosure fcls = { 0 };
224 fcls.n = 0; 224 fcls.n = 0;