summaryrefslogtreecommitdiff
path: root/auth.h
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 /auth.h
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 '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;