From 65cfef23df7a5ec3f86f0966b29b399fc0e5e5c7 Mon Sep 17 00:00:00 2001 From: LRN Date: Fri, 11 Oct 2013 11:22:17 +0000 Subject: [PATCH] Fix psycstore tests to compile --- src/psycstore/test_plugin_psycstore.c | 4 ++-- 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, /* Store & test membership */ - channel_key = GNUNET_CRYPTO_ecc_key_create (); - slave_key = GNUNET_CRYPTO_ecc_key_create (); + channel_key = GNUNET_CRYPTO_eddsa_key_create (); + slave_key = GNUNET_CRYPTO_eddsa_key_create (); GNUNET_CRYPTO_eddsa_key_get_public (channel_key, &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 @@ */ #include "platform.h" -#include "gnunet_common.h" #include "gnunet_util_lib.h" +#include "gnunet_common.h" #include "gnunet_testing_lib.h" #include "gnunet_psycstore_service.h" @@ -497,8 +497,8 @@ run (void *cls, h = GNUNET_PSYCSTORE_connect (cfg); GNUNET_assert (NULL != h); - channel_key = GNUNET_CRYPTO_ecc_key_create (); - slave_key = GNUNET_CRYPTO_ecc_key_create (); + channel_key = GNUNET_CRYPTO_eddsa_key_create (); + slave_key = GNUNET_CRYPTO_eddsa_key_create (); GNUNET_CRYPTO_eddsa_key_get_public (channel_key, &channel_pub_key); GNUNET_CRYPTO_eddsa_key_get_public (slave_key, &slave_pub_key); -- 2.25.1