From 3abeb45550e1cbf4939583c9b6ff48335fe6f1a9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 7 Jul 2022 20:29:24 +0200 Subject: implemented new DHT path signing with origin authentication --- src/cadet/gnunet-service-cadet_dht.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cadet/gnunet-service-cadet_dht.c') 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, -- cgit v1.2.3