X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnet_socket.c;h=85bc4df56993a4c5eda92c7acf6454100e3dc412;hb=cfe9285adf391ab66faeb5def811fe08e47a221a;hp=1bf9d16afe03588c079af6aad0c9a1946f202369;hpb=8d32b283b016e205b051b0bacb49a1e86fd5e1bc;p=tinc diff --git a/src/net_socket.c b/src/net_socket.c index 1bf9d16a..85bc4df5 100644 --- a/src/net_socket.c +++ b/src/net_socket.c @@ -549,8 +549,10 @@ begin: c->status.connecting = true; c->name = xstrdup(outgoing->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; @@ -696,8 +698,10 @@ 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;