summaryrefslogtreecommitdiff
path: root/auth.h
diff options
context:
space:
mode:
Diffstat (limited to 'auth.h')
-rw-r--r--auth.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/auth.h b/auth.h
index 456d28f37..ee8a2b95c 100644
--- a/auth.h
+++ b/auth.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth.h,v 1.51 2005/06/06 11:20:36 djm Exp $ */ 1/* $OpenBSD: auth.h,v 1.58 2006/08/18 09:15:20 markus Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -28,9 +28,8 @@
28#ifndef AUTH_H 28#ifndef AUTH_H
29#define AUTH_H 29#define AUTH_H
30 30
31#include "key.h" 31#include <signal.h>
32#include "hostfile.h" 32
33#include "buffer.h"
34#include <openssl/rsa.h> 33#include <openssl/rsa.h>
35 34
36#ifdef HAVE_LOGIN_CAP 35#ifdef HAVE_LOGIN_CAP
@@ -48,7 +47,8 @@ typedef struct Authmethod Authmethod;
48typedef struct KbdintDevice KbdintDevice; 47typedef struct KbdintDevice KbdintDevice;
49 48
50struct Authctxt { 49struct Authctxt {
51 int success; 50 sig_atomic_t success;
51 int authenticated; /* authenticated and alarms cancelled */
52 int postponed; /* authentication needs another step */ 52 int postponed; /* authentication needs another step */
53 int valid; /* user exists and is allowed to login */ 53 int valid; /* user exists and is allowed to login */
54 int attempt; 54 int attempt;