summaryrefslogtreecommitdiff
path: root/auth.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-07-04 03:40:39 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-07-04 03:40:39 +0000
commit248c0784bfcadea9bed9dd9b919b7e4633b4f86a (patch)
treec2df8825fc6057aec6289b99ce8180d5a89511aa /auth.h
parentbda98b0091bb96ece12b6f54e7fa93cd832da772 (diff)
- provos@cvs.openbsd.org 2001/06/25 17:54:47
[auth.c auth.h auth-rsa.c] terminate secure_filename checking after checking homedir. that way it works on AFS. okay markus@
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 b9585d3af..415967c2c 100644
--- a/auth.h
+++ b/auth.h
@@ -21,7 +21,7 @@
21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 * 23 *
24 * $OpenBSD: auth.h,v 1.18 2001/06/23 00:20:58 markus Exp $ 24 * $OpenBSD: auth.h,v 1.19 2001/06/25 17:54:49 provos Exp $
25 */ 25 */
26#ifndef AUTH_H 26#ifndef AUTH_H
27#define AUTH_H 27#define AUTH_H
@@ -168,7 +168,8 @@ char *authorized_keys_file2(struct passwd *pw);
168 168
169/* check a file and the path to it */ 169/* check a file and the path to it */
170int 170int
171secure_filename(FILE *f, const char *file, uid_t u, char *err, size_t errlen); 171secure_filename(FILE *f, const char *file, struct passwd *pw,
172 char *err, size_t errlen);
172 173
173/* helper for hostbased auth */ 174/* helper for hostbased auth */
174HostStatus 175HostStatus