]> git.meshlink.io Git - meshlink/blobdiff - src/protocol_auth.c
Read ECDSA keys.
[meshlink] / src / protocol_auth.c
index 7aaef17fd84d89a5658a295adbba739231bf1271..d98e5c4b1a314f0324c80a786e01260fbe5058c2 100644 (file)
@@ -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;