summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authordtucker <dtucker>2004-03-08 11:13:12 +0000
committerdtucker <dtucker>2004-03-08 11:13:12 +0000
commitb3bda899e6667787edbec52241ca2f0a53bc7fbe (patch)
treee96234804fa05a1af50d95dd6a5d3ec7649a1254 /sshd.c
parent93ee4ce949bba7f20d01257e00d1409010c1530c (diff)
downloadopenssh-b3bda899e6667787edbec52241ca2f0a53bc7fbe.tar.gz
- (dtucker) [sshd.c] Back out rev 1.270 as it caused problems on some
platforms (eg SCO, HP-UX) with logging in the wrong TZ.
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sshd.c b/sshd.c
index 6169a733..2c224b9c 100644
--- a/sshd.c
+++ b/sshd.c
@@ -101,7 +101,6 @@ extern char *__progname;
#else
char *__progname;
#endif
-extern char **environ;
/* Server configuration options. */
ServerOptions options;
@@ -1106,11 +1105,6 @@ main(int ac, char **av)
unmounted if desired. */
chdir("/");
-#ifndef HAVE_CYGWIN
- /* Clear environment */
- environ[0] = NULL;
-#endif
-
/* ignore SIGPIPE */
signal(SIGPIPE, SIG_IGN);