X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;ds=inline;f=src%2Fnet_socket.c;h=af1bec224fe0feae3e992bf059296190eb84c33c;hb=90cde91141ec61be4354d8deab21edb8fdf01022;hp=e154f4864cf5554f2203361d5883c1aca1f9fe06;hpb=0289162552cd85375605044c696e2a3294e7aa9a;p=tinc diff --git a/src/net_socket.c b/src/net_socket.c index e154f486..af1bec22 100644 --- a/src/net_socket.c +++ b/src/net_socket.c @@ -648,10 +648,6 @@ begin: c->last_ping_time = time(NULL); c->status.connecting = true; c->name = xstrdup(outgoing->node->name); -#ifndef DISABLE_LEGACY - c->outcipher = myself->connection->outcipher; - c->outdigest = myself->connection->outdigest; -#endif c->outmaclength = myself->connection->outmaclength; c->outcompression = myself->connection->outcompression; c->last_ping_time = now.tv_sec; @@ -761,10 +757,6 @@ void handle_new_meta_connection(void *data, int flags) { c = new_connection(); c->name = xstrdup(""); -#ifndef DISABLE_LEGACY - c->outcipher = myself->connection->outcipher; - c->outdigest = myself->connection->outdigest; -#endif c->outmaclength = myself->connection->outmaclength; c->outcompression = myself->connection->outcompression;