summaryrefslogtreecommitdiffstats
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 b9585d3a..415967c2 100644
--- a/auth.h
+++ b/auth.h
@@ -21,7 +21,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $OpenBSD: auth.h,v 1.18 2001/06/23 00:20:58 markus Exp $
+ * $OpenBSD: auth.h,v 1.19 2001/06/25 17:54:49 provos Exp $
*/
#ifndef AUTH_H
#define AUTH_H
@@ -168,7 +168,8 @@ char *authorized_keys_file2(struct passwd *pw);
/* check a file and the path to it */
int
-secure_filename(FILE *f, const char *file, uid_t u, char *err, size_t errlen);
+secure_filename(FILE *f, const char *file, struct passwd *pw,
+ char *err, size_t errlen);
/* helper for hostbased auth */
HostStatus