Browse Source

prototypes for bcrypt and md5crypt, as described in manpage; ok deraadt@

OPENBSD_3_6
djm 21 years ago
parent
commit
47a42edf4e
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/include/pwd.h

+ 3
- 1
src/include/pwd.h View File

@ -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 $ */ /* $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); int setpassent(int);
char *user_from_uid(uid_t, int); char *user_from_uid(uid_t, int);
char *bcrypt_gensalt(u_int8_t); 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 *); struct passwd *pw_dup(const struct passwd *);
#endif #endif
void setpwent(void); void setpwent(void);


Loading…
Cancel
Save