initialize ephemeral keys
authorChristian Grothoff <christian@grothoff.org>
Sat, 21 Jan 2017 23:00:06 +0000 (00:00 +0100)
committerChristian Grothoff <christian@grothoff.org>
Sat, 21 Jan 2017 23:00:13 +0000 (00:00 +0100)
src/cadet/cadet.conf.in
src/cadet/gnunet-service-cadet-new_tunnels.c

index 88f49fde8b8512bf297983cbf56a2b8899bc8b0e..1ee830dbf63bfd68bc8dce5c0e97201a255cc7b2 100644 (file)
@@ -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
index 535bd66a8083e30151be5fc7b7167bb49607de60..73bbaf042e50e9e0bbaccd909af5d80b7e8dbad5 100644 (file)
@@ -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,