summaryrefslogtreecommitdiff
path: root/include/pwd.h
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-05-16 21:28:16 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-05-16 21:28:16 +0000
commitba634de27c3550530e5c34e8bbc635d456112f65 (patch)
tree5d80f2ffcb168b8981778bf191d8c91f5164a651 /include/pwd.h
parentfea3f0114b72a97898959130f5e5306c7369a399 (diff)
add prototypes for new crypt functions
Diffstat (limited to 'include/pwd.h')
-rw-r--r--include/pwd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/pwd.h b/include/pwd.h
index 36dd2320e57..98455523fbd 100644
--- a/include/pwd.h
+++ b/include/pwd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pwd.h,v 1.22 2014/05/12 19:13:51 tedu Exp $ */
+/* $OpenBSD: pwd.h,v 1.23 2014/05/16 21:28:15 tedu Exp $ */
/* $NetBSD: pwd.h,v 1.9 1996/05/15 21:36:45 jtc Exp $ */
/*-
@@ -107,6 +107,8 @@ int setpassent(int);
char *user_from_uid(uid_t, int);
char *bcrypt_gensalt(u_int8_t);
char *bcrypt(const char *, const char *);
+int bcrypt_newhash(const char *, int, char *, size_t);
+int bcrypt_checkpass(const char *, const char *);
struct passwd *pw_dup(const struct passwd *);
#endif
__END_DECLS