summaryrefslogtreecommitdiff
path: root/auth.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2013-07-18 16:10:09 +1000
committerDamien Miller <djm@mindrot.org>2013-07-18 16:10:09 +1000
commit20bdcd72365e8b3d51261993928cc47c5f0d7c8a (patch)
treedb4f44ba0f86b271a9493ce0d866941f0ac5a953 /auth.h
parent3071070b39e6d1722151c754cdc2b26640eaf45e (diff)
- djm@cvs.openbsd.org 2013/06/21 00:34:49
[auth-rsa.c auth.h auth2-hostbased.c auth2-pubkey.c monitor.c] for hostbased authentication, print the client host and user on the auth success/failure line; bz#2064, ok dtucker@
Diffstat (limited to 'auth.h')
-rw-r--r--auth.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/auth.h b/auth.h
index a406e1393..caf44adc0 100644
--- a/auth.h
+++ b/auth.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth.h,v 1.74 2013/05/19 02:42:42 djm Exp $ */ 1/* $OpenBSD: auth.h,v 1.75 2013/06/21 00:34:49 djm Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -122,7 +122,8 @@ int auth_rsa_key_allowed(struct passwd *, BIGNUM *, Key **);
122int auth_rhosts_rsa_key_allowed(struct passwd *, char *, char *, Key *); 122int auth_rhosts_rsa_key_allowed(struct passwd *, char *, char *, Key *);
123int hostbased_key_allowed(struct passwd *, const char *, char *, Key *); 123int hostbased_key_allowed(struct passwd *, const char *, char *, Key *);
124int user_key_allowed(struct passwd *, Key *); 124int user_key_allowed(struct passwd *, Key *);
125void pubkey_auth_info(Authctxt *, const Key *); 125void pubkey_auth_info(Authctxt *, const Key *, const char *, ...)
126 __attribute__((__format__ (printf, 3, 4)));
126 127
127struct stat; 128struct stat;
128int auth_secure_path(const char *, struct stat *, const char *, uid_t, 129int auth_secure_path(const char *, struct stat *, const char *, uid_t,