aboutsummaryrefslogtreecommitdiff
path: root/src/psycstore/test_psycstore.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-13 12:00:01 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-13 12:00:01 +0000
commita35c5a11d32bdd0bc24f64de36fbc6b0d0b20aae (patch)
treeb7768c5cb22e8a4f84d51cbd06dc04861fdb8510 /src/psycstore/test_psycstore.c
parent95d42fdcb47eedcf2747614a22dacd676bc7faae (diff)
downloadgnunet-a35c5a11d32bdd0bc24f64de36fbc6b0d0b20aae.tar.gz
gnunet-a35c5a11d32bdd0bc24f64de36fbc6b0d0b20aae.zip
splitting 'struct GNUNET_CRYPTO_EccPublicKey' into one struct for signing and another for encryption
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,