From: Guus Sliepen Date: Thu, 24 Apr 2014 06:50:35 +0000 (+0200) Subject: Remove bypass_security. X-Git-Url: http://git.meshlink.io/?p=meshlink;a=commitdiff_plain;h=56ecf5049433a45c865f945915b65bdae307ba4f Remove bypass_security. --- diff --git a/src/meshlink_internal.h b/src/meshlink_internal.h index af63cc20..4be2f739 100644 --- a/src/meshlink_internal.h +++ b/src/meshlink_internal.h @@ -92,7 +92,6 @@ struct meshlink_handle { struct ecdsa *invitation_key; debug_t debug_level; - bool bypass_security; }; /// A handle for a MeshLink node. diff --git a/src/protocol_auth.c b/src/protocol_auth.c index c810877f..fa71874f 100644 --- a/src/protocol_auth.c +++ b/src/protocol_auth.c @@ -314,13 +314,6 @@ bool id_h(connection_t *c, const char *request) { return false; } - if(mesh->bypass_security) { - if(!c->config_tree) - init_configuration(&c->config_tree); - c->allow_request = ACK; - return send_ack(c); - } - if(!c->config_tree) { init_configuration(&c->config_tree);