diff options
author | LRN <lrn1986@gmail.com> | 2013-10-11 11:22:17 +0000 |
---|---|---|
committer | LRN <lrn1986@gmail.com> | 2013-10-11 11:22:17 +0000 |
commit | 65cfef23df7a5ec3f86f0966b29b399fc0e5e5c7 (patch) | |
tree | 1a6ba6f4c50a1d7113430e00d4489a00523099fa /src/psycstore | |
parent | ef2231cf7c1b83ac45c6fbe75f2ef73280815024 (diff) | |
download | gnunet-65cfef23df7a5ec3f86f0966b29b399fc0e5e5c7.tar.gz gnunet-65cfef23df7a5ec3f86f0966b29b399fc0e5e5c7.zip |
Fix psycstore tests to compile
Diffstat (limited to 'src/psycstore')
-rw-r--r-- | src/psycstore/test_plugin_psycstore.c | 4 | ||||
-rw-r--r-- | src/psycstore/test_psycstore.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/psycstore/test_plugin_psycstore.c b/src/psycstore/test_plugin_psycstore.c index ccd3751bf..1a44a20d6 100644 --- a/src/psycstore/test_plugin_psycstore.c +++ b/src/psycstore/test_plugin_psycstore.c | |||
@@ -174,8 +174,8 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
174 | 174 | ||
175 | /* Store & test membership */ | 175 | /* Store & test membership */ |
176 | 176 | ||
177 | channel_key = GNUNET_CRYPTO_ecc_key_create (); | 177 | channel_key = GNUNET_CRYPTO_eddsa_key_create (); |
178 | slave_key = GNUNET_CRYPTO_ecc_key_create (); | 178 | slave_key = GNUNET_CRYPTO_eddsa_key_create (); |
179 | 179 | ||
180 | GNUNET_CRYPTO_eddsa_key_get_public (channel_key, | 180 | GNUNET_CRYPTO_eddsa_key_get_public (channel_key, |
181 | &channel_pub_key); | 181 | &channel_pub_key); |
diff --git a/src/psycstore/test_psycstore.c b/src/psycstore/test_psycstore.c index ff4e208eb..05cb92dce 100644 --- a/src/psycstore/test_psycstore.c +++ b/src/psycstore/test_psycstore.c | |||
@@ -26,8 +26,8 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | #include "platform.h" | 28 | #include "platform.h" |
29 | #include "gnunet_common.h" | ||
30 | #include "gnunet_util_lib.h" | 29 | #include "gnunet_util_lib.h" |
30 | #include "gnunet_common.h" | ||
31 | #include "gnunet_testing_lib.h" | 31 | #include "gnunet_testing_lib.h" |
32 | #include "gnunet_psycstore_service.h" | 32 | #include "gnunet_psycstore_service.h" |
33 | 33 | ||
@@ -497,8 +497,8 @@ run (void *cls, | |||
497 | h = GNUNET_PSYCSTORE_connect (cfg); | 497 | h = GNUNET_PSYCSTORE_connect (cfg); |
498 | GNUNET_assert (NULL != h); | 498 | GNUNET_assert (NULL != h); |
499 | 499 | ||
500 | channel_key = GNUNET_CRYPTO_ecc_key_create (); | 500 | channel_key = GNUNET_CRYPTO_eddsa_key_create (); |
501 | slave_key = GNUNET_CRYPTO_ecc_key_create (); | 501 | slave_key = GNUNET_CRYPTO_eddsa_key_create (); |
502 | 502 | ||
503 | GNUNET_CRYPTO_eddsa_key_get_public (channel_key, &channel_pub_key); | 503 | GNUNET_CRYPTO_eddsa_key_get_public (channel_key, &channel_pub_key); |
504 | GNUNET_CRYPTO_eddsa_key_get_public (slave_key, &slave_pub_key); | 504 | GNUNET_CRYPTO_eddsa_key_get_public (slave_key, &slave_pub_key); |