summaryrefslogtreecommitdiff
path: root/auth.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-05-15 16:16:14 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-05-15 16:16:14 +0000
commita574cda45b5d3c3363520ef9e4aa3aaa5888c078 (patch)
treee437d6e854db91fd3a9744d922ff942f465b249a /auth.h
parent58d4dafeb1159cebd03a2b32cb87a1970606a441 (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.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/auth.h b/auth.h
index f03a26e0a..2211c5b2a 100644
--- a/auth.h
+++ b/auth.h
@@ -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);
172int get_hostkey_index(Key *); 172int get_hostkey_index(Key *);
173int ssh1_session_key(BIGNUM *); 173int ssh1_session_key(BIGNUM *);
174 174
175/* debug messages during authentication */
176void auth_debug_add(const char *fmt,...) __attribute__((format(printf, 1, 2)));
177void auth_debug_send(void);
178void 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"