summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/auth.h
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2013-06-21 00:34:50 +0000
committerDamien Miller <djm@cvs.openbsd.org>2013-06-21 00:34:50 +0000
commit2a586b5423b654288ad0b2b8f3b0a8188ec66471 (patch)
tree0a9a8b062f878911434e7383f213daed08109615 /usr.bin/ssh/auth.h
parent07a861bf4089b3b357a0dfd968099a685d0f25e7 (diff)
for hostbased authentication, print the client host and user on
the auth success/failure line; bz#2064, ok dtucker@
Diffstat (limited to 'usr.bin/ssh/auth.h')
-rw-r--r--usr.bin/ssh/auth.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/auth.h b/usr.bin/ssh/auth.h
index e79cf2c4605..2ce518a17df 100644
--- a/usr.bin/ssh/auth.h
+++ b/usr.bin/ssh/auth.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth.h,v 1.74 2013/05/19 02:42:42 djm Exp $ */
+/* $OpenBSD: auth.h,v 1.75 2013/06/21 00:34:49 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -113,7 +113,8 @@ int auth_rsa_key_allowed(struct passwd *, BIGNUM *, Key **);
int auth_rhosts_rsa_key_allowed(struct passwd *, char *, char *, Key *);
int hostbased_key_allowed(struct passwd *, const char *, char *, Key *);
int user_key_allowed(struct passwd *, Key *);
-void pubkey_auth_info(Authctxt *, const Key *);
+void pubkey_auth_info(Authctxt *, const Key *, const char *, ...)
+ __attribute__((__format__ (printf, 3, 4)));
struct stat;
int auth_secure_path(const char *, struct stat *, const char *, uid_t,