summaryrefslogtreecommitdiff
path: root/src/cadet/gnunet-service-cadet_dht.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-07-07 20:29:24 +0200
committerChristian Grothoff <christian@grothoff.org>2022-07-07 20:29:24 +0200
commit3abeb45550e1cbf4939583c9b6ff48335fe6f1a9 (patch)
treea653991a417cc0a683a95d3b61c67e26fb341486 /src/cadet/gnunet-service-cadet_dht.c
parent2906241b6a21d6009a0d195199f3a08e8f4d4e2a (diff)
implemented new DHT path signing with origin authentication
Diffstat (limited to 'src/cadet/gnunet-service-cadet_dht.c')
-rw-r--r--src/cadet/gnunet-service-cadet_dht.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cadet/gnunet-service-cadet_dht.c b/src/cadet/gnunet-service-cadet_dht.c
index d44a50f50..3df2687de 100644
--- a/src/cadet/gnunet-service-cadet_dht.c
+++ b/src/cadet/gnunet-service-cadet_dht.c
@@ -101,6 +101,7 @@ static struct GNUNET_TIME_Relative announce_delay;
* @param cls closure
* @param exp when will this value expire
* @param key key of the result
+ * @param trunc_peer peer preceeding with invalid signature, or NULL
* @param get_path path of the get request
* @param get_path_length length of @a get_path
* @param put_path path of the put request
@@ -112,6 +113,7 @@ static struct GNUNET_TIME_Relative announce_delay;
static void
dht_get_id_handler (void *cls, struct GNUNET_TIME_Absolute exp,
const struct GNUNET_HashCode *key,
+ const struct GNUNET_PeerIdentity *trunc_peer,
const struct GNUNET_DHT_PathElement *get_path,
unsigned int get_path_length,
const struct GNUNET_DHT_PathElement *put_path,
@@ -122,6 +124,7 @@ dht_get_id_handler (void *cls, struct GNUNET_TIME_Absolute exp,
{
const struct GNUNET_HELLO_Message *hello = data;
+ (void) trunc_peer;
GCPP_try_path_from_dht (get_path,
get_path_length,
put_path,