X-Git-Url: http://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fprotocol_auth.c;h=73a591edb1e976e75bca7d09c58f43012ad7a725;hb=5716c8877fd705d5af36d82e27632b123fa5dde0;hp=778c607b2ba74f9fb9683b2df3414a375ac41e83;hpb=bfce56d473e1e01a8af0260262ca84f09154e71f;p=tinc diff --git a/src/protocol_auth.c b/src/protocol_auth.c index 778c607b..73a591ed 100644 --- a/src/protocol_auth.c +++ b/src/protocol_auth.c @@ -379,8 +379,8 @@ bool id_h(connection_t *c, const char *request) { } if(experimental) - if(!read_ecdsa_public_key(c)) - return false; + read_ecdsa_public_key(c); + /* Ignore failures if no key known yet */ } else { if(c->protocol_minor && !ecdsa_active(c->ecdsa)) c->protocol_minor = 1; @@ -805,7 +805,6 @@ bool ack_h(connection_t *c, const char *request) { /* Activate this connection */ c->allow_request = ALL; - c->status.active = true; logger(DEBUG_CONNECTIONS, LOG_NOTICE, "Connection with %s (%s) activated", c->name, c->hostname);