Fix another bogon.
This commit is contained in:
parent
4b7d97414e
commit
3cde2031c8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=17453
@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: ftpd.c,v 1.19 1996/08/05 00:21:14 pst Exp $
|
||||
* $Id: ftpd.c,v 1.20 1996/08/06 08:43:43 phk Exp $
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
@ -670,7 +670,7 @@ pass(passwd)
|
||||
pw->pw_passwd);
|
||||
pwok = 0;
|
||||
#else
|
||||
rval = strcmp(crypt(passwd, pw->passwd), pw->pw_passwd);
|
||||
rval = strcmp(crypt(passwd, pw->pw_passwd), pw->pw_passwd);
|
||||
#endif
|
||||
/* The strcmp does not catch null passwords! */
|
||||
if (*pw->pw_passwd == '\0' ||
|
||||
|
Loading…
Reference in New Issue
Block a user