summaryrefslogtreecommitdiff
path: root/readconf.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2004-04-20 20:11:57 +1000
committerDamien Miller <djm@mindrot.org>2004-04-20 20:11:57 +1000
commit57a4476a69e1d64d051b766b0ac9c9c3ef496864 (patch)
treef49bfcdc2e5d23d88d5dd45462a1ad966dc16b9c /readconf.h
parent1824c071abc61b6a70cd0a077b957bd6e0c80cde (diff)
- djm@cvs.openbsd.org 2004/04/18 23:10:26
[readconf.c readconf.h ssh-keysign.c ssh.c] perform strict ownership and modes checks for ~/.ssh/config files, as these can be used to execute arbitrary programs; ok markus@ NB. ssh will now exit when it detects a config with poor permissions
Diffstat (limited to 'readconf.h')
-rw-r--r--readconf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/readconf.h b/readconf.h
index 93d833cee..9d70fee67 100644
--- a/readconf.h
+++ b/readconf.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: readconf.h,v 1.60 2004/03/05 10:53:58 markus Exp $ */ 1/* $OpenBSD: readconf.h,v 1.61 2004/04/18 23:10:26 djm Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -108,7 +108,7 @@ typedef struct {
108 108
109void initialize_options(Options *); 109void initialize_options(Options *);
110void fill_default_options(Options *); 110void fill_default_options(Options *);
111int read_config_file(const char *, const char *, Options *); 111int read_config_file(const char *, const char *, Options *, int);
112 112
113int 113int
114process_config_line(Options *, const char *, char *, const char *, int, int *); 114process_config_line(Options *, const char *, char *, const char *, int, int *);