Use minor protocol version to determine whether to use ECDH key exchange between...
[tinc] / src / protocol_auth.c
index 3fd80c4..f6192d7 100644 (file)
@@ -626,9 +626,6 @@ bool ack_h(connection_t *c, const char *request) {
                        c->options &= ~OPTION_CLAMP_MSS;
        }
 
-       if(c->protocol_minor > 0)
-               c->node->status.ecdh = true;
-
        /* Activate this connection */
 
        c->allow_request = ALL;