From: Christian Grothoff Date: Sat, 21 Jan 2017 23:00:06 +0000 (+0100) Subject: initialize ephemeral keys X-Git-Tag: taler-0.2.1~398 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=078ad83bef7239a3ad2afeb3320a1e0cdd5dff4b;p=oweals%2Fgnunet.git initialize ephemeral keys --- diff --git a/src/cadet/cadet.conf.in b/src/cadet/cadet.conf.in index 88f49fde8..1ee830dbf 100644 --- a/src/cadet/cadet.conf.in +++ b/src/cadet/cadet.conf.in @@ -3,7 +3,7 @@ FORCESTART = YES AUTOSTART = @AUTOSTART@ @JAVAPORT@PORT = 2096 HOSTNAME = localhost -BINARY = gnunet-service-cadet +BINARY = gnunet-service-cadet-new ACCEPT_FROM = 127.0.0.1; ACCEPT_FROM6 = ::1; UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-cadet.sock diff --git a/src/cadet/gnunet-service-cadet-new_tunnels.c b/src/cadet/gnunet-service-cadet-new_tunnels.c index 535bd66a8..73bbaf042 100644 --- a/src/cadet/gnunet-service-cadet-new_tunnels.c +++ b/src/cadet/gnunet-service-cadet-new_tunnels.c @@ -2126,6 +2126,7 @@ GCT_create_tunnel (struct CadetPeer *destination) struct CadetTunnel *t; t = GNUNET_new (struct CadetTunnel); + new_ephemeral (t); t->destination = destination; t->channels = GNUNET_CONTAINER_multihashmap32_create (8); (void) GCP_iterate_paths (destination,