diff options
author | djm <djm> | 2006-08-18 14:32:46 +0000 |
---|---|---|
committer | djm <djm> | 2006-08-18 14:32:46 +0000 |
commit | 0de67a62541240e22b140f55a05ec5055425c57d (patch) | |
tree | d9a272e3e8a98d4d38c2402a2902479c7ca44108 /sshd.c | |
parent | 986acef8640919e7dde650907a54f393c9d38dde (diff) | |
download | openssh-0de67a62541240e22b140f55a05ec5055425c57d.tar.gz |
- markus@cvs.openbsd.org 2006/08/18 09:15:20
[auth.h session.c sshd.c]
delay authentication related cleanups until we're authenticated and
all alarms have been cancelled; ok deraadt
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: sshd.c,v 1.346 2006/08/18 09:13:26 deraadt Exp $ */ +/* $OpenBSD: sshd.c,v 1.347 2006/08/18 09:15:20 markus Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -1800,6 +1800,7 @@ main(int ac, char **av) */ alarm(0); signal(SIGALRM, SIG_DFL); + authctxt->authenticated = 1; if (startup_pipe != -1) { close(startup_pipe); startup_pipe = -1; |