]> git.meshlink.io Git - meshlink/commitdiff
Remove bypass_security.
authorGuus Sliepen <guus@meshlink.io>
Thu, 24 Apr 2014 06:50:35 +0000 (08:50 +0200)
committerGuus Sliepen <guus@meshlink.io>
Thu, 24 Apr 2014 06:50:35 +0000 (08:50 +0200)
src/meshlink_internal.h
src/protocol_auth.c

index af63cc2093969b8a719c370920dacee047017966..4be2f739eca43835650126d9025235187c70b76c 100644 (file)
@@ -92,7 +92,6 @@ struct meshlink_handle {
        struct ecdsa *invitation_key;
 
        debug_t debug_level;
-       bool bypass_security;
 };
 
 /// A handle for a MeshLink node.
index c810877f9b863b24724af501f0fb3fc2a50c3b4a..fa71874f3d4e3464dbeb4f0efddb270b98efafb3 100644 (file)
@@ -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);