]> git.meshlink.io Git - meshlink/blobdiff - src/protocol_auth.c
Use minor protocol version to determine whether to use ECDH key exchange between...
[meshlink] / src / protocol_auth.c
index 3fd80c47b944981a900f9409751bdec8bf00a907..f6192d71bea09e615b909e6b002b2da5f4ab319f 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;