diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-22 00:00:06 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-22 00:00:13 +0100 |
commit | 078ad83bef7239a3ad2afeb3320a1e0cdd5dff4b (patch) | |
tree | dddf92ab020bc147b9a0be24924ae0ab2b72da3d /src/cadet | |
parent | 5bf979114ebbb73014761dfb20f985a561c4876e (diff) | |
download | gnunet-078ad83bef7239a3ad2afeb3320a1e0cdd5dff4b.tar.gz gnunet-078ad83bef7239a3ad2afeb3320a1e0cdd5dff4b.zip |
initialize ephemeral keys
Diffstat (limited to 'src/cadet')
-rw-r--r-- | src/cadet/cadet.conf.in | 2 | ||||
-rw-r--r-- | src/cadet/gnunet-service-cadet-new_tunnels.c | 1 |
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 | |||
3 | AUTOSTART = @AUTOSTART@ | 3 | AUTOSTART = @AUTOSTART@ |
4 | @JAVAPORT@PORT = 2096 | 4 | @JAVAPORT@PORT = 2096 |
5 | HOSTNAME = localhost | 5 | HOSTNAME = localhost |
6 | BINARY = gnunet-service-cadet | 6 | BINARY = gnunet-service-cadet-new |
7 | ACCEPT_FROM = 127.0.0.1; | 7 | ACCEPT_FROM = 127.0.0.1; |
8 | ACCEPT_FROM6 = ::1; | 8 | ACCEPT_FROM6 = ::1; |
9 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-cadet.sock | 9 | 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) | |||
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, |