summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authormouring <mouring@cvs.openbsd.org>2002-05-10 02:30:13 +0000
committermouring <mouring@cvs.openbsd.org>2002-05-10 02:30:13 +0000
commit42d2710e4c847d5d3e2332ff9652fa36299dae96 (patch)
treeeac5ec4d2fa658f0708334fe46348dd3d4c54bd0 /usr.bin/ssh
parent971d0cb014839ab57e2dd4958797d5b107659e7c (diff)
Reverted from last patch. Breaks AFS/KRBx.
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/auth-passwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/auth-passwd.c b/usr.bin/ssh/auth-passwd.c
index 10e8829d7b1..edb79bcfe5b 100644
--- a/usr.bin/ssh/auth-passwd.c
+++ b/usr.bin/ssh/auth-passwd.c
@@ -36,7 +36,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: auth-passwd.c,v 1.25 2002/05/06 23:00:59 mouring Exp $");
+RCSID("$OpenBSD: auth-passwd.c,v 1.26 2002/05/10 02:30:12 mouring Exp $");
#include "packet.h"
#include "log.h"
@@ -61,7 +61,7 @@ auth_password(Authctxt *authctxt, const char *password)
return 0;
if (pw->pw_uid == 0 && options.permit_root_login != PERMIT_YES)
return 0;
- if (*pw->pw_passwd == '\0' && options.permit_empty_passwd == 0)
+ if (*password == '\0' && options.permit_empty_passwd == 0)
return 0;
#ifdef KRB5
if (options.kerberos_authentication == 1) {