From 56ecf5049433a45c865f945915b65bdae307ba4f Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Thu, 24 Apr 2014 08:50:35 +0200 Subject: [PATCH] Remove bypass_security. --- src/meshlink_internal.h | 1 - src/protocol_auth.c | 7 ------- 2 files changed, 8 deletions(-) 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); -- 2.39.2