summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2014-11-19 22:59:50 +0000
committertedu <tedu@openbsd.org>2014-11-19 22:59:50 +0000
commitfaa4eeece19dd9ef71ac31be77bb13c11d591fbc (patch)
tree795f17b475bf76be52fe48cf07e53a047684303b
parentUse stravis() instead of a custom() strvis + mallocarray wrapper. (diff)
downloadwireguard-openbsd-faa4eeece19dd9ef71ac31be77bb13c11d591fbc.tar.xz
wireguard-openbsd-faa4eeece19dd9ef71ac31be77bb13c11d591fbc.zip
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
-rw-r--r--include/login_cap.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/login_cap.h b/include/login_cap.h
index aa934b006bb..5c816bd56d5 100644
--- a/include/login_cap.h
+++ b/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_ */