diff options
author | Damien Miller <djm@mindrot.org> | 2003-09-03 07:32:45 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-09-03 07:32:45 +1000 |
commit | 856f0be66908352828bb595f7ad5213623c0c610 (patch) | |
tree | 607c8df162abc4a5aa61cbaad86f9a4aaf71718a /auth.h | |
parent | 39638b6aebf5ca69ba75c79c0cc0572e1f396258 (diff) |
- markus@cvs.openbsd.org 2003/08/26 09:58:43
[auth-passwd.c auth.c auth.h auth1.c auth2-none.c auth2-passwd.c]
[auth2.c monitor.c]
fix passwd auth for 'username leaks via timing'; with djm@, original
patches from solar
Diffstat (limited to 'auth.h')
-rw-r--r-- | auth.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: auth.h,v 1.46 2003/08/28 12:54:34 markus Exp $ */ | 1 | /* $OpenBSD: auth.h,v 1.45 2003/08/26 09:58:43 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
@@ -173,6 +173,8 @@ void auth_debug_add(const char *fmt,...) __attribute__((format(printf, 1, 2))); | |||
173 | void auth_debug_send(void); | 173 | void auth_debug_send(void); |
174 | void auth_debug_reset(void); | 174 | void auth_debug_reset(void); |
175 | 175 | ||
176 | struct passwd *fakepw(void); | ||
177 | |||
176 | #define AUTH_FAIL_MAX 6 | 178 | #define AUTH_FAIL_MAX 6 |
177 | #define AUTH_FAIL_LOG (AUTH_FAIL_MAX/2) | 179 | #define AUTH_FAIL_LOG (AUTH_FAIL_MAX/2) |
178 | #define AUTH_FAIL_MSG "Too many authentication failures for %.100s" | 180 | #define AUTH_FAIL_MSG "Too many authentication failures for %.100s" |