aboutsummaryrefslogtreecommitdiff
path: root/src/psycstore/test_psycstore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/psycstore/test_psycstore.c')
-rw-r--r--src/psycstore/test_psycstore.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/psycstore/test_psycstore.c b/src/psycstore/test_psycstore.c
index 6b9e77180..db4cfb0eb 100644
--- a/src/psycstore/test_psycstore.c
+++ b/src/psycstore/test_psycstore.c
@@ -58,8 +58,8 @@ static GNUNET_SCHEDULER_TaskIdentifier endbadly_task;
58static struct GNUNET_CRYPTO_EccPrivateKey *channel_key; 58static struct GNUNET_CRYPTO_EccPrivateKey *channel_key;
59static struct GNUNET_CRYPTO_EccPrivateKey *slave_key; 59static struct GNUNET_CRYPTO_EccPrivateKey *slave_key;
60 60
61static struct GNUNET_CRYPTO_EccPublicKey channel_pub_key; 61static struct GNUNET_CRYPTO_EccPublicSignKey channel_pub_key;
62static struct GNUNET_CRYPTO_EccPublicKey slave_pub_key; 62static struct GNUNET_CRYPTO_EccPublicSignKey slave_pub_key;
63 63
64/** 64/**
65 * Clean up all resources used. 65 * Clean up all resources used.
@@ -160,8 +160,8 @@ run (void *cls,
160 channel_key = GNUNET_CRYPTO_ecc_key_create (); 160 channel_key = GNUNET_CRYPTO_ecc_key_create ();
161 slave_key = GNUNET_CRYPTO_ecc_key_create (); 161 slave_key = GNUNET_CRYPTO_ecc_key_create ();
162 162
163 GNUNET_CRYPTO_ecc_key_get_public (channel_key, &channel_pub_key); 163 GNUNET_CRYPTO_ecc_key_get_public_for_signature (channel_key, &channel_pub_key);
164 GNUNET_CRYPTO_ecc_key_get_public (slave_key, &slave_pub_key); 164 GNUNET_CRYPTO_ecc_key_get_public_for_signature (slave_key, &slave_pub_key);
165 165
166 op = GNUNET_PSYCSTORE_membership_store (h, &channel_pub_key, &slave_pub_key, 166 op = GNUNET_PSYCSTORE_membership_store (h, &channel_pub_key, &slave_pub_key,
167 GNUNET_YES, 2, 2, 1, 167 GNUNET_YES, 2, 2, 1,