]> git.meshlink.io Git - meshlink/blobdiff - src/net_socket.c
Remove support for the legacy protocol.
[meshlink] / src / net_socket.c
index a2bc5b9301e98bf3efadd820fc9ecd5af1ca9c10..6a859f153610aa4849d33c8cc450928994aab702 100644 (file)
@@ -481,9 +481,6 @@ begin:
 
        c->status.connecting = true;
        c->name = xstrdup(outgoing->name);
-       c->outcipher = myself->connection->outcipher;
-       c->outdigest = myself->connection->outdigest;
-       c->outmaclength = myself->connection->outmaclength;
        c->outcompression = myself->connection->outcompression;
        c->last_ping_time = now.tv_sec;
 
@@ -628,9 +625,6 @@ void handle_new_meta_connection(void *data, int flags) {
 
        c = new_connection();
        c->name = xstrdup("<unknown>");
-       c->outcipher = myself->connection->outcipher;
-       c->outdigest = myself->connection->outdigest;
-       c->outmaclength = myself->connection->outmaclength;
        c->outcompression = myself->connection->outcompression;
 
        c->address = sa;