projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
1f2670a
)
Fix permissions check for rsa_key.priv.
author
Guus Sliepen
<guus@tinc-vpn.org>
Thu, 14 Aug 2003 14:21:35 +0000
(14:21 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Thu, 14 Aug 2003 14:21:35 +0000
(14:21 +0000)
src/net_setup.c
patch
|
blob
|
history
diff --git
a/src/net_setup.c
b/src/net_setup.c
index
c7c1250
..
3ab91a0
100644
(file)
--- 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.
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.4
2 2003/08/08 22:11:54
guus Exp $
+ $Id: net_setup.c,v 1.1.2.4
3 2003/08/14 14:21:35
guus Exp $
*/
#include "system.h"
*/
#include "system.h"
@@
-182,7
+182,7
@@
bool read_rsa_private_key(void)
return false;
}
return false;
}
- if(s.st_mode & ~0700)
+ if(s.st_mode & ~0
100
700)
logger(LOG_WARNING, _("Warning: insecure file permissions for RSA private key file `%s'!"), fname);
#endif
logger(LOG_WARNING, _("Warning: insecure file permissions for RSA private key file `%s'!"), fname);
#endif