aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-01-22 00:00:06 +0100
committerChristian Grothoff <christian@grothoff.org>2017-01-22 00:00:13 +0100
commit078ad83bef7239a3ad2afeb3320a1e0cdd5dff4b (patch)
treedddf92ab020bc147b9a0be24924ae0ab2b72da3d
parent5bf979114ebbb73014761dfb20f985a561c4876e (diff)
downloadgnunet-078ad83bef7239a3ad2afeb3320a1e0cdd5dff4b.tar.gz
gnunet-078ad83bef7239a3ad2afeb3320a1e0cdd5dff4b.zip
initialize ephemeral keys
-rw-r--r--src/cadet/cadet.conf.in2
-rw-r--r--src/cadet/gnunet-service-cadet-new_tunnels.c1
2 files changed, 2 insertions, 1 deletions
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
3AUTOSTART = @AUTOSTART@ 3AUTOSTART = @AUTOSTART@
4@JAVAPORT@PORT = 2096 4@JAVAPORT@PORT = 2096
5HOSTNAME = localhost 5HOSTNAME = localhost
6BINARY = gnunet-service-cadet 6BINARY = gnunet-service-cadet-new
7ACCEPT_FROM = 127.0.0.1; 7ACCEPT_FROM = 127.0.0.1;
8ACCEPT_FROM6 = ::1; 8ACCEPT_FROM6 = ::1;
9UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-cadet.sock 9UNIXPATH = $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)
2126 struct CadetTunnel *t; 2126 struct CadetTunnel *t;
2127 2127
2128 t = GNUNET_new (struct CadetTunnel); 2128 t = GNUNET_new (struct CadetTunnel);
2129 new_ephemeral (t);
2129 t->destination = destination; 2130 t->destination = destination;
2130 t->channels = GNUNET_CONTAINER_multihashmap32_create (8); 2131 t->channels = GNUNET_CONTAINER_multihashmap32_create (8);
2131 (void) GCP_iterate_paths (destination, 2132 (void) GCP_iterate_paths (destination,