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 @@ -/* $OpenBSD: auth.h,v 1.36 2002/05/12 23:53:45 djm Exp $ */ +/* $OpenBSD: auth.h,v 1.37 2002/05/13 20:44:58 markus Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. @@ -172,6 +172,11 @@ Key *get_hostkey_by_type(int); int get_hostkey_index(Key *); int ssh1_session_key(BIGNUM *); +/* debug messages during authentication */ +void auth_debug_add(const char *fmt,...) __attribute__((format(printf, 1, 2))); +void auth_debug_send(void); +void auth_debug_reset(void); + #define AUTH_FAIL_MAX 6 #define AUTH_FAIL_LOG (AUTH_FAIL_MAX/2) #define AUTH_FAIL_MSG "Too many authentication failures for %.100s" |