X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet_setup.c;h=3ab91a0529613f314504b767da95f5052fb6aaf4;hp=c7c1250508fe8e1105bd8baadbaf8eaf74fab71c;hb=7ed25590257b6ed33dfa879d187a09b0d790794f;hpb=1f2670aab295dfd09c8c655611d2a5b820cb00fc diff --git a/src/net_setup.c b/src/net_setup.c index c7c12505..3ab91a05 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: net_setup.c,v 1.1.2.42 2003/08/08 22:11:54 guus Exp $ + $Id: net_setup.c,v 1.1.2.43 2003/08/14 14:21:35 guus Exp $ */ #include "system.h" @@ -182,7 +182,7 @@ bool read_rsa_private_key(void) return false; } - if(s.st_mode & ~0700) + if(s.st_mode & ~0100700) logger(LOG_WARNING, _("Warning: insecure file permissions for RSA private key file `%s'!"), fname); #endif