diff options
author | Damien Miller <djm@mindrot.org> | 2004-04-20 20:11:57 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2004-04-20 20:11:57 +1000 |
commit | 57a4476a69e1d64d051b766b0ac9c9c3ef496864 (patch) | |
tree | f49bfcdc2e5d23d88d5dd45462a1ad966dc16b9c /readconf.h | |
parent | 1824c071abc61b6a70cd0a077b957bd6e0c80cde (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.h | 4 |
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 | ||
109 | void initialize_options(Options *); | 109 | void initialize_options(Options *); |
110 | void fill_default_options(Options *); | 110 | void fill_default_options(Options *); |
111 | int read_config_file(const char *, const char *, Options *); | 111 | int read_config_file(const char *, const char *, Options *, int); |
112 | 112 | ||
113 | int | 113 | int |
114 | process_config_line(Options *, const char *, char *, const char *, int, int *); | 114 | process_config_line(Options *, const char *, char *, const char *, int, int *); |