From 078ad83bef7239a3ad2afeb3320a1e0cdd5dff4b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 22 Jan 2017 00:00:06 +0100 Subject: [PATCH] initialize ephemeral keys --- src/cadet/cadet.conf.in | 2 +- src/cadet/gnunet-service-cadet-new_tunnels.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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, -- 2.25.1