aboutsummaryrefslogtreecommitdiff
path: root/src/dht/test_dht_topo.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/dht/test_dht_topo.c
parent2906241b6a21d6009a0d195199f3a08e8f4d4e2a (diff)
downloadgnunet-3abeb45550e1cbf4939583c9b6ff48335fe6f1a9.tar.gz
gnunet-3abeb45550e1cbf4939583c9b6ff48335fe6f1a9.zip
implemented new DHT path signing with origin authentication
Diffstat (limited to 'src/dht/test_dht_topo.c')
-rw-r--r--src/dht/test_dht_topo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dht/test_dht_topo.c b/src/dht/test_dht_topo.c
index 4830ba629..a8294c65d 100644
--- a/src/dht/test_dht_topo.c
+++ b/src/dht/test_dht_topo.c
@@ -327,6 +327,7 @@ timeout_cb (void *cls)
327 * @param cls closure with our 'struct GetOperation' 327 * @param cls closure with our 'struct GetOperation'
328 * @param exp when will this value expire 328 * @param exp when will this value expire
329 * @param query query hash 329 * @param query query hash
330 * @param trunc_peer peer the path was truncated at, or NULL
330 * @param get_path peers on reply path (or NULL if not recorded) 331 * @param get_path peers on reply path (or NULL if not recorded)
331 * @param get_path_length number of entries in @a get_path 332 * @param get_path_length number of entries in @a get_path
332 * @param put_path peers on the PUT path (or NULL if not recorded) 333 * @param put_path peers on the PUT path (or NULL if not recorded)
@@ -339,6 +340,7 @@ static void
339dht_get_handler (void *cls, 340dht_get_handler (void *cls,
340 struct GNUNET_TIME_Absolute exp, 341 struct GNUNET_TIME_Absolute exp,
341 const struct GNUNET_HashCode *query, 342 const struct GNUNET_HashCode *query,
343 const struct GNUNET_PeerIdentity *trunc_peer,
342 const struct GNUNET_DHT_PathElement *get_path, 344 const struct GNUNET_DHT_PathElement *get_path,
343 unsigned int get_path_length, 345 unsigned int get_path_length,
344 const struct GNUNET_DHT_PathElement *put_path, 346 const struct GNUNET_DHT_PathElement *put_path,
@@ -380,6 +382,7 @@ dht_get_handler (void *cls,
380 GNUNET_DHT_verify_path (data, 382 GNUNET_DHT_verify_path (data,
381 size, 383 size,
382 exp, 384 exp,
385 trunc_peer,
383 put_path, 386 put_path,
384 put_path_length, 387 put_path_length,
385 get_path, 388 get_path,