summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authordjm <djm>2006-08-18 14:32:46 +0000
committerdjm <djm>2006-08-18 14:32:46 +0000
commit0de67a62541240e22b140f55a05ec5055425c57d (patch)
treed9a272e3e8a98d4d38c2402a2902479c7ca44108 /sshd.c
parent986acef8640919e7dde650907a54f393c9d38dde (diff)
downloadopenssh-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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sshd.c b/sshd.c
index f1f2e38b..dcc62658 100644
--- a/sshd.c
+++ b/sshd.c
@@ -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;