Bump minor protocol to indicate ECDH capability for UDP session keys.
This commit is contained in:
parent
9708bbfa8e
commit
86d83bd9bd
2 changed files with 4 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
|||
/* Protocol version. Different major versions are incompatible. */
|
||||
|
||||
#define PROT_MAJOR 17
|
||||
#define PROT_MINOR 0
|
||||
#define PROT_MINOR 1
|
||||
|
||||
/* Silly Windows */
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue