aboutsummaryrefslogtreecommitdiff
path: root/src/dht/gnunet-service-dht_neighbours.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-01-09 18:12:41 +0100
committerChristian Grothoff <christian@grothoff.org>2022-01-09 18:12:41 +0100
commit14d1628f5f19326e99597a33661f40f2f642f4f1 (patch)
treee9365a8f8241df91eb67652f53988ab4d33f43de /src/dht/gnunet-service-dht_neighbours.c
parenta327860b118e10e170a9721ea36ba5eeccf2bb8e (diff)
downloadgnunet-14d1628f5f19326e99597a33661f40f2f642f4f1.tar.gz
gnunet-14d1628f5f19326e99597a33661f40f2f642f4f1.zip
-DHT: implement path signing (but signatures are not yet being verified)
Diffstat (limited to 'src/dht/gnunet-service-dht_neighbours.c')
-rw-r--r--src/dht/gnunet-service-dht_neighbours.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dht/gnunet-service-dht_neighbours.c b/src/dht/gnunet-service-dht_neighbours.c
index 4affc7682..2c9240969 100644
--- a/src/dht/gnunet-service-dht_neighbours.c
+++ b/src/dht/gnunet-service-dht_neighbours.c
@@ -436,6 +436,9 @@ sign_path (const struct GNUNET_PeerIdentity *pred,
436 .succ = *succ 436 .succ = *succ
437 }; 437 };
438 438
439 /* TODO: we might want to cache signatures by 'hs' in the
440 future as an optimization to reduce the amount of
441 crypto operations we need to do! */
439 GNUNET_CRYPTO_eddsa_sign (&my_private_key, 442 GNUNET_CRYPTO_eddsa_sign (&my_private_key,
440 &hs, 443 &hs,
441 sig); 444 sig);