[svn-upgrade] Integrating new upstream version, shadow (4.0.17)

This commit is contained in:
nekral-guest
2007-10-07 11:47:45 +00:00
parent 0fa9083026
commit 8a78a8d68c
217 changed files with 10771 additions and 4096 deletions

View File

@ -30,7 +30,7 @@
#include <config.h>
#ifndef USE_PAM
#ident "$Id: pwauth.c,v 1.22 2006/05/12 22:54:22 kloczek Exp $"
#ident "$Id: pwauth.c,v 1.23 2006/06/24 13:17:18 kloczek Exp $"
#include <errno.h>
#include <fcntl.h>
@ -51,10 +51,6 @@ static const char *PROMPT = gettext_noop ("Password: ");
static const char *PROMPT = gettext_noop ("%s's Password: ");
#endif
#ifdef SKEY
extern char *getpass_with_echo ();
#endif
int wipe_clear_pass = 1;
char *clear_pass = NULL;
@ -179,9 +175,7 @@ pw_auth (const char *cipher, const char *user, int reason, const char *input)
* -- AR 8/22/1999
*/
if (retval && !input[0] && (use_skey)) {
strncat (prompt, "(Echo on) ",
(sizeof (prompt) - strlen (prompt)));
clear = getpass_with_echo (prompt);
clear = getpass (prompt);
if (!clear) {
static char c[1];