summaryrefslogtreecommitdiffstats
path: root/include/pwd.h
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2004-04-06 10:59:18 +0000
committerdjm <djm@openbsd.org>2004-04-06 10:59:18 +0000
commitf8acaf4d011ca7d55e7aebb8a4aa8a53f79d53a1 (patch)
tree54e9ddcd2dd6497684bd73c74ef685dc1876cdc3 /include/pwd.h
parentWhen optimizing a logical arithmetic operation, which operands are both (diff)
downloadwireguard-openbsd-f8acaf4d011ca7d55e7aebb8a4aa8a53f79d53a1.tar.xz
wireguard-openbsd-f8acaf4d011ca7d55e7aebb8a4aa8a53f79d53a1.zip
prototypes for bcrypt and md5crypt, as described in manpage; ok deraadt@
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 fc3b5b3ea4e..3ff80b8b601 100644
--- a/include/pwd.h
+++ b/include/pwd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pwd.h,v 1.15 2003/06/02 19:34:12 millert Exp $ */
+/* $OpenBSD: pwd.h,v 1.16 2004/04/06 10:59:18 djm Exp $ */
/* $NetBSD: pwd.h,v 1.9 1996/05/15 21:36:45 jtc Exp $ */
/*-
@@ -101,6 +101,8 @@ struct passwd *getpwent(void);
int setpassent(int);
char *user_from_uid(uid_t, int);
char *bcrypt_gensalt(u_int8_t);
+char *bcrypt(const char *, const char *);
+char *md5crypt(const char *, const char *);
struct passwd *pw_dup(const struct passwd *);
#endif
void setpwent(void);