From 302efc61c472192544e33034a38a451707c5421d Mon Sep 17 00:00:00 2001 From: tedu <> Date: Wed, 19 Nov 2014 22:59:50 +0000 Subject: [PATCH] prototype for crypt_newhash(). adding it here because this is where login_cap_t lives and i don't want to forward declare it in unistd.h --- src/include/login_cap.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/include/login_cap.h b/src/include/login_cap.h index aa934b00..5c816bd5 100644 --- a/src/include/login_cap.h +++ b/src/include/login_cap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: login_cap.h,v 1.13 2005/01/28 17:17:22 millert Exp $ */ +/* $OpenBSD: login_cap.h,v 1.14 2014/11/19 22:59:50 tedu Exp $ */ /*- * Copyright (c) 1995,1997 Berkeley Software Design, Inc. All rights reserved. @@ -104,6 +104,8 @@ int secure_path(char *); int setclasscontext(char *, unsigned int); int setusercontext(login_cap_t *, struct passwd *, uid_t, unsigned int); +int crypt_newhash(const char *pass, login_cap_t *lc, char *hash, size_t hashlen); + __END_DECLS #endif /* _LOGIN_CAP_H_ */