X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fprotocol_auth.c;h=a542ca9ea922813b75cc741f24dbe8d1f2550c9c;hb=3fba80174dbe29bcfe0d121a2a1d2e61be5ee57b;hp=4eb61bdf115b59e5a602e7411702f422cb77dd08;hpb=2f4ccfe2473948372f7c9f14d9ffce1d77f5fd8c;p=tinc diff --git a/src/protocol_auth.c b/src/protocol_auth.c index 4eb61bdf..a542ca9e 100644 --- a/src/protocol_auth.c +++ b/src/protocol_auth.c @@ -226,7 +226,6 @@ bool send_metakey(connection_t *c) { static bool metakey_ec_h(connection_t *c, const char *request) { size_t siglen = ecdsa_size(&c->ecdsa); char key[MAX_STRING_SIZE]; - char sig[siglen]; logger(LOG_DEBUG, "Got ECDH metakey from %s", c->name); @@ -652,7 +651,7 @@ bool ack_h(connection_t *c, char *request) { if(tunnelserver) send_add_edge(c, c->edge); else - send_add_edge(broadcast, c->edge); + send_add_edge(everyone, c->edge); /* Run MST and SSSP algorithms */