summaryrefslogtreecommitdiff
path: root/auth.h
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 /auth.h
parent99a648e59291d3adb39eeee4fa1f8a5b2ee2d769 (diff)
downloadopenssh-git-3f8123c804bdabbc95caf9e3495310e584944fb2.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 'auth.h')
-rw-r--r--auth.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/auth.h b/auth.h
index 26158b9d..8c554b6a 100644
--- a/auth.h
+++ b/auth.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth.h,v 1.57 2006/08/03 03:34:41 deraadt Exp $ */
+/* $OpenBSD: auth.h,v 1.58 2006/08/18 09:15:20 markus Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -48,6 +48,7 @@ typedef struct KbdintDevice KbdintDevice;
struct Authctxt {
sig_atomic_t success;
+ int authenticated; /* authenticated and alarms cancelled */
int postponed; /* authentication needs another step */
int valid; /* user exists and is allowed to login */
int attempt;