diff options
author | Damien Miller <djm@mindrot.org> | 2006-04-23 12:08:37 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-04-23 12:08:37 +1000 |
commit | 97c91f688fa8f8d67bbe2e0aa0feb912fc3c00ef (patch) | |
tree | 2fdcbfd35755abb791bbc8e899686b32e838a855 /auth.h | |
parent | 58629fad824ebe0a10974930778beff455f41aea (diff) |
- djm@cvs.openbsd.org 2006/04/20 09:27:09
[auth.h clientloop.c dispatch.c dispatch.h kex.h]
replace the last non-sig_atomic_t flag used in a signal handler with a
sig_atomic_t, unfortunately with some knock-on effects in other (non-
signal) contexts in which it is used; ok markus@
Diffstat (limited to 'auth.h')
-rw-r--r-- | auth.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: auth.h,v 1.52 2006/03/25 22:22:42 djm Exp $ */ | 1 | /* $OpenBSD: auth.h,v 1.53 2006/04/20 09:27:09 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
@@ -48,7 +48,7 @@ typedef struct Authmethod Authmethod; | |||
48 | typedef struct KbdintDevice KbdintDevice; | 48 | typedef struct KbdintDevice KbdintDevice; |
49 | 49 | ||
50 | struct Authctxt { | 50 | struct Authctxt { |
51 | int success; | 51 | sig_atomic_t success; |
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; |