diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-05-15 16:16:14 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-05-15 16:16:14 +0000 |
commit | a574cda45b5d3c3363520ef9e4aa3aaa5888c078 (patch) | |
tree | e437d6e854db91fd3a9744d922ff942f465b249a /auth.h | |
parent | 58d4dafeb1159cebd03a2b32cb87a1970606a441 (diff) |
- markus@cvs.openbsd.org 2002/05/13 20:44:58
[auth-options.c auth.c auth.h]
move the packet_send_debug handling from auth-options.c to auth.c;
ok provos@
Diffstat (limited to 'auth.h')
-rw-r--r-- | auth.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: auth.h,v 1.36 2002/05/12 23:53:45 djm Exp $ */ | 1 | /* $OpenBSD: auth.h,v 1.37 2002/05/13 20:44:58 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
@@ -172,6 +172,11 @@ Key *get_hostkey_by_type(int); | |||
172 | int get_hostkey_index(Key *); | 172 | int get_hostkey_index(Key *); |
173 | int ssh1_session_key(BIGNUM *); | 173 | int ssh1_session_key(BIGNUM *); |
174 | 174 | ||
175 | /* debug messages during authentication */ | ||
176 | void auth_debug_add(const char *fmt,...) __attribute__((format(printf, 1, 2))); | ||
177 | void auth_debug_send(void); | ||
178 | void auth_debug_reset(void); | ||
179 | |||
175 | #define AUTH_FAIL_MAX 6 | 180 | #define AUTH_FAIL_MAX 6 |
176 | #define AUTH_FAIL_LOG (AUTH_FAIL_MAX/2) | 181 | #define AUTH_FAIL_LOG (AUTH_FAIL_MAX/2) |
177 | #define AUTH_FAIL_MSG "Too many authentication failures for %.100s" | 182 | #define AUTH_FAIL_MSG "Too many authentication failures for %.100s" |