#include "platform.h"
#include "gnunet_hello_lib.h"
-static size_t
+static ssize_t
my_addr_gen (void *cls, size_t max, void *buf)
{
unsigned int *i = cls;
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"DEBUG: my_addr_gen called with i = %d\n", *i);
if (0 == *i)
- return 0;
+ return GNUNET_SYSERR;
memset (&address.peer, 0, sizeof (struct GNUNET_PeerIdentity));
address.address = "address_information";
address.transport_name = "test";
struct GNUNET_HELLO_Message *msg1;
struct GNUNET_HELLO_Message *msg2;
struct GNUNET_HELLO_Message *msg3;
- struct GNUNET_CRYPTO_EccPublicSignKey publicKey;
- struct GNUNET_CRYPTO_EccPublicSignKey pk;
+ struct GNUNET_CRYPTO_EddsaPublicKey publicKey;
+ struct GNUNET_CRYPTO_EddsaPublicKey pk;
struct GNUNET_TIME_Absolute startup_time;
unsigned int i;