diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2010-01-13 03:48:14 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2010-01-13 03:48:14 +0000 |
commit | 7e1890c522aa4e692d773f6e25208c9c08e81150 (patch) | |
tree | f2969c8c7c6f2a30b8f4b8e5f7da2282b0f51a3b /usr.bin/ssh/servconf.h | |
parent | 6907faaae7983ae04e5ff7b8565a828fc9ff4fe4 (diff) |
avoid run-time failures when specifying hostkeys via a relative
path by prepending the cwd in these cases; bz#1290; ok dtucker@
Diffstat (limited to 'usr.bin/ssh/servconf.h')
-rw-r--r-- | usr.bin/ssh/servconf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/servconf.h b/usr.bin/ssh/servconf.h index 4defa64f438..0c7dedf8e11 100644 --- a/usr.bin/ssh/servconf.h +++ b/usr.bin/ssh/servconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: servconf.h,v 1.89 2010/01/09 23:04:13 dtucker Exp $ */ +/* $OpenBSD: servconf.h,v 1.90 2010/01/13 03:48:13 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -162,5 +162,6 @@ void parse_server_match_config(ServerOptions *, const char *, const char *, const char *); void copy_set_server_options(ServerOptions *, ServerOptions *, int); void dump_config(ServerOptions *); +char *derelativise_path(const char *); #endif /* SERVCONF_H */ |