summaryrefslogtreecommitdiff
path: root/auth.h
diff options
context:
space:
mode:
authormouring <mouring>2002-05-15 16:16:14 +0000
committermouring <mouring>2002-05-15 16:16:14 +0000
commitb3070dda6a44aa9758b3af11870165fe7f8d604a (patch)
tree7a118f8ded2eb3492e099fff1fa7d73bfd327d9b /auth.h
parent7a33f17e57e7e684ed32b71aaae14546c05c4a3c (diff)
downloadopenssh-b3070dda6a44aa9758b3af11870165fe7f8d604a.tar.gz
- 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 f03a26e0..2211c5b2 100644
--- a/auth.h
+++ b/auth.h
@@ -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"