Use minor protocol version to determine whether to use ECDH key exchange between nodes.

This commit is contained in:
Guus Sliepen 2012-07-20 01:02:51 +02:00
parent 76a3ada4eb
commit 68a20876d0
5 changed files with 58 additions and 44 deletions

View 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;