-/* $OpenBSD: login_chpass.c,v 1.18 2015/10/22 12:32:33 tedu Exp $ */
+/* $OpenBSD: login_chpass.c,v 1.19 2015/10/25 08:39:26 ajacoutot Exp $ */
/*-
* Copyright (c) 1995,1996 Berkeley Software Design, Inc. All rights reserved.
char *ypgetnewpasswd(struct passwd *, char **);
struct passwd *ypgetpwnam(char *);
void kbintr(int);
-int pwd_gensalt(char *, int, login_cap_t *, char);
#endif
void local_chpass(char **);
-/* $OpenBSD: login_lchpass.c,v 1.16 2015/10/22 12:32:33 tedu Exp $ */
+/* $OpenBSD: login_lchpass.c,v 1.17 2015/10/25 08:39:26 ajacoutot Exp $ */
/*-
* Copyright (c) 1995,1996 Berkeley Software Design, Inc. All rights reserved.
#define BACK_CHANNEL 3
int local_passwd(char *, int);
-int pwd_gensalt(char *, int, login_cap_t *, char);
int
main(int argc, char *argv[])
-/* $OpenBSD: local_passwd.c,v 1.44 2014/11/21 05:13:44 tedu Exp $ */
+/* $OpenBSD: local_passwd.c,v 1.45 2015/10/25 08:39:26 ajacoutot Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
#define UNCHANGED_MSG "Password unchanged.\n"
static uid_t uid;
-extern int pwd_gensalt(char *, int, login_cap_t *, char);
extern int pwd_check(login_cap_t *, char *);
extern int pwd_gettries(login_cap_t *);
-/* $OpenBSD: yp_passwd.c,v 1.36 2015/08/20 22:32:41 deraadt Exp $ */
+/* $OpenBSD: yp_passwd.c,v 1.37 2015/10/25 08:39:26 ajacoutot Exp $ */
/*
* Copyright (c) 1988 The Regents of the University of California.
#define _PASSWORD_LEN PASS_MAX
#endif
-extern int pwd_gensalt(char *, int, login_cap_t *, char);
extern int pwd_check(login_cap_t *, char *);
extern int pwd_gettries(login_cap_t *);
extern void kbintr(int);