summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/peerinfo/gnunet-service-peerinfo.c1
-rwxr-xr-xsrc/peerinfo/perf_peerinfo_api.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/src/peerinfo/gnunet-service-peerinfo.c b/src/peerinfo/gnunet-service-peerinfo.c
index 8b113f9ce..7a2a02c2a 100644
--- a/src/peerinfo/gnunet-service-peerinfo.c
+++ b/src/peerinfo/gnunet-service-peerinfo.c
@@ -510,7 +510,6 @@ bind_address (const struct GNUNET_PeerIdentity *peer,
GNUNET_assert (NULL != host);
if (NULL == host->hello)
{
- GNUNET_break (0);
host->hello = GNUNET_malloc (GNUNET_HELLO_size (hello));
memcpy (host->hello, hello, GNUNET_HELLO_size (hello));
}
diff --git a/src/peerinfo/perf_peerinfo_api.c b/src/peerinfo/perf_peerinfo_api.c
index 41533bd3f..d55ccce2b 100755
--- a/src/peerinfo/perf_peerinfo_api.c
+++ b/src/peerinfo/perf_peerinfo_api.c
@@ -82,7 +82,7 @@ address_generator (void *cls, size_t max, void *buf)
static void
add_peer (size_t i)
{
- struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pkey;
+ struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded pkey;
struct GNUNET_HELLO_Message *h2;
memset (&pkey, i, sizeof (pkey));
@@ -120,7 +120,7 @@ run (void *cls,
{
add_peer (i);
ic[i] =
- GNUNET_PEERINFO_iterate (h, NULL,
+ GNUNET_PEERINFO_iterate (h, GNUNET_YES, NULL,
GNUNET_TIME_relative_multiply
(GNUNET_TIME_UNIT_SECONDS, 30), &process, cls);
}