diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-07-07 20:29:24 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-07-07 20:29:24 +0200 |
commit | 3abeb45550e1cbf4939583c9b6ff48335fe6f1a9 (patch) | |
tree | a653991a417cc0a683a95d3b61c67e26fb341486 /src/pt | |
parent | 2906241b6a21d6009a0d195199f3a08e8f4d4e2a (diff) | |
download | gnunet-3abeb45550e1cbf4939583c9b6ff48335fe6f1a9.tar.gz gnunet-3abeb45550e1cbf4939583c9b6ff48335fe6f1a9.zip |
implemented new DHT path signing with origin authentication
Diffstat (limited to 'src/pt')
-rw-r--r-- | src/pt/gnunet-daemon-pt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pt/gnunet-daemon-pt.c b/src/pt/gnunet-daemon-pt.c index b79a8e464..67227b97f 100644 --- a/src/pt/gnunet-daemon-pt.c +++ b/src/pt/gnunet-daemon-pt.c | |||
@@ -1126,6 +1126,7 @@ try_open_exit () | |||
1126 | * @param cls closure | 1126 | * @param cls closure |
1127 | * @param exp when will this value expire | 1127 | * @param exp when will this value expire |
1128 | * @param key key of the result | 1128 | * @param key key of the result |
1129 | * @param trunc_peer peer that was truncated (or NULL if not truncated) | ||
1129 | * @param get_path peers on reply path (or NULL if not recorded) | 1130 | * @param get_path peers on reply path (or NULL if not recorded) |
1130 | * [0] = datastore's first neighbor, [length - 1] = local peer | 1131 | * [0] = datastore's first neighbor, [length - 1] = local peer |
1131 | * @param get_path_length number of entries in @a get_path | 1132 | * @param get_path_length number of entries in @a get_path |
@@ -1140,6 +1141,7 @@ static void | |||
1140 | handle_dht_result (void *cls, | 1141 | handle_dht_result (void *cls, |
1141 | struct GNUNET_TIME_Absolute exp, | 1142 | struct GNUNET_TIME_Absolute exp, |
1142 | const struct GNUNET_HashCode *key, | 1143 | const struct GNUNET_HashCode *key, |
1144 | const struct GNUNET_PeerIdentity *trunc_peer, | ||
1143 | const struct GNUNET_DHT_PathElement *get_path, | 1145 | const struct GNUNET_DHT_PathElement *get_path, |
1144 | unsigned int get_path_length, | 1146 | unsigned int get_path_length, |
1145 | const struct GNUNET_DHT_PathElement *put_path, | 1147 | const struct GNUNET_DHT_PathElement *put_path, |