summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-08-19 00:32:46 +1000
committerDamien Miller <djm@mindrot.org>2006-08-19 00:32:46 +1000
commit3f8123c804bdabbc95caf9e3495310e584944fb2 (patch)
treea2451a9b597ab738acc510f3bbee14babc048d2c /sshd.c
parent99a648e59291d3adb39eeee4fa1f8a5b2ee2d769 (diff)
- 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 f1f2e38b3..dcc626589 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshd.c,v 1.346 2006/08/18 09:13:26 deraadt Exp $ */ 1/* $OpenBSD: sshd.c,v 1.347 2006/08/18 09:15:20 markus Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1800,6 +1800,7 @@ main(int ac, char **av)
1800 */ 1800 */
1801 alarm(0); 1801 alarm(0);
1802 signal(SIGALRM, SIG_DFL); 1802 signal(SIGALRM, SIG_DFL);
1803 authctxt->authenticated = 1;
1803 if (startup_pipe != -1) { 1804 if (startup_pipe != -1) {
1804 close(startup_pipe); 1805 close(startup_pipe);
1805 startup_pipe = -1; 1806 startup_pipe = -1;