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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/psycstore/test_plugin_psycstore.c b/src/psycstore/test_plugin_psycstore.c
index 52a306f07..b584ed51d 100644
--- a/src/psycstore/test_plugin_psycstore.c
+++ b/src/psycstore/test_plugin_psycstore.c
@@ -53,8 +53,8 @@ static const char *plugin_name;
53static struct GNUNET_CRYPTO_EccPrivateKey *channel_key; 53static struct GNUNET_CRYPTO_EccPrivateKey *channel_key;
54static struct GNUNET_CRYPTO_EccPrivateKey *slave_key; 54static struct GNUNET_CRYPTO_EccPrivateKey *slave_key;
55 55
56static struct GNUNET_CRYPTO_EccPublicKey channel_pub_key; 56static struct GNUNET_CRYPTO_EccPublicSignKey channel_pub_key;
57static struct GNUNET_CRYPTO_EccPublicKey slave_pub_key; 57static struct GNUNET_CRYPTO_EccPublicSignKey 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
@@ -174,8 +174,8 @@ run (void *cls, char *const *args, const char *cfgfile,
174 channel_key = GNUNET_CRYPTO_ecc_key_create (); 174 channel_key = GNUNET_CRYPTO_ecc_key_create ();
175 slave_key = GNUNET_CRYPTO_ecc_key_create (); 175 slave_key = GNUNET_CRYPTO_ecc_key_create ();
176 176
177 GNUNET_CRYPTO_ecc_key_get_public (channel_key, &channel_pub_key); 177 GNUNET_CRYPTO_ecc_key_get_public_for_signature (channel_key, &channel_pub_key);
178 GNUNET_CRYPTO_ecc_key_get_public (slave_key, &slave_pub_key); 178 GNUNET_CRYPTO_ecc_key_get_public_for_signature (slave_key, &slave_pub_key);
179 179
180 ASSERT (GNUNET_OK == db->membership_store(db->cls, &channel_pub_key, 180 ASSERT (GNUNET_OK == db->membership_store(db->cls, &channel_pub_key,
181 &slave_pub_key, GNUNET_YES, 181 &slave_pub_key, GNUNET_YES,