diff options
author | Damien Miller <djm@mindrot.org> | 2006-08-18 16:32:46 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-08-18 16:32:46 +0200 |
commit | 3f8123c804bdabbc95caf9e3495310e584944fb2 (patch) | |
tree | a2451a9b597ab738acc510f3bbee14babc048d2c /session.c | |
parent | - deraadt@cvs.openbsd.org 2006/08/18 09:13:26 (diff) | |
download | openssh-3f8123c804bdabbc95caf9e3495310e584944fb2.tar.xz openssh-3f8123c804bdabbc95caf9e3495310e584944fb2.zip |
- 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 'session.c')
-rw-r--r-- | session.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: session.c,v 1.217 2006/08/04 20:46:05 stevesk Exp $ */ +/* $OpenBSD: session.c,v 1.218 2006/08/18 09:15:20 markus Exp $ */ /* * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland * All rights reserved @@ -2476,7 +2476,7 @@ do_cleanup(Authctxt *authctxt) return; called = 1; - if (authctxt == NULL) + if (authctxt == NULL || !authctxt->authenticated) return; #ifdef KRB5 if (options.kerberos_ticket_cleanup && |