summaryrefslogtreecommitdiff
path: root/auth.h
diff options
context:
space:
mode:
authordjm <djm>2014-07-03 11:29:38 +0000
committerdjm <djm>2014-07-03 11:29:38 +0000
commit7a73893e062758c14e5807a3997f857de166c063 (patch)
treeb4fb2e38d38d719333f564589858a65120bf0128 /auth.h
parent25088812656e78e4bd1219c4b7ccee3908cfbcfa (diff)
downloadopenssh-7a73893e062758c14e5807a3997f857de166c063.tar.gz
- djm@cvs.openbsd.org 2014/07/03 11:16:55
[auth.c auth.h auth1.c auth2.c] make the "Too many authentication failures" message include the user, source address, port and protocol in a format similar to the authentication success / failure messages; bz#2199, ok dtucker
Diffstat (limited to 'auth.h')
-rw-r--r--auth.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/auth.h b/auth.h
index 124e5974..d081c94a 100644
--- a/auth.h
+++ b/auth.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth.h,v 1.77 2014/01/29 06:18:35 djm Exp $ */
+/* $OpenBSD: auth.h,v 1.78 2014/07/03 11:16:55 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -154,6 +154,7 @@ void auth_info(Authctxt *authctxt, const char *, ...)
__attribute__((__format__ (printf, 2, 3)))
__attribute__((__nonnull__ (2)));
void auth_log(Authctxt *, int, int, const char *, const char *);
+void auth_maxtries_exceeded(Authctxt *) __attribute__((noreturn));
void userauth_finish(Authctxt *, int, const char *, const char *);
int auth_root_allowed(const char *);
@@ -210,8 +211,6 @@ struct passwd *fakepw(void);
int sys_auth_passwd(Authctxt *, const char *);
-#define AUTH_FAIL_MSG "Too many authentication failures for %.100s"
-
#define SKEY_PROMPT "\nS/Key Password: "
#if defined(KRB5) && !defined(HEIMDAL)