X-Git-Url: http://tinc-vpn.org/git/browse?a=blobdiff_plain;ds=sidebyside;f=src%2Fprotocol_auth.c;h=d98e5c4b1a314f0324c80a786e01260fbe5058c2;hb=86d83bd9bd69e2129f4e4e8397f1c7e223685e2f;hp=7aaef17fd84d89a5658a295adbba739231bf1271;hpb=9708bbfa8e3094de8932a30b1d24c661558d8a03;p=tinc diff --git a/src/protocol_auth.c b/src/protocol_auth.c index 7aaef17f..d98e5c4b 100644 --- a/src/protocol_auth.c +++ b/src/protocol_auth.c @@ -462,6 +462,9 @@ bool ack_h(connection_t *c, char *request) { c->options &= ~OPTION_CLAMP_MSS; } + if(c->protocol_minor > 0) + c->node->status.ecdh = true; + /* Activate this connection */ c->allow_request = ALL;