]> andersk Git - gssapi-openssh.git/blobdiff - openssh/auth-passwd.c
Import of OpenSSH 3.7.1p2
[gssapi-openssh.git] / openssh / auth-passwd.c
index 95cc134de9eef28624ae562993327e0e4f299361..971c7ba19d9be09cc4efdd1d37f0c9dfc6c13f53 100644 (file)
@@ -143,7 +143,7 @@ auth_password(Authctxt *authctxt, const char *password)
        char *pw_password = authctxt->valid ? shadow_pw(pw) : pw->pw_passwd;
 
        /* Check for users with no password. */
-       if (strcmp(pw_password, "") == 0 && strcmp(pw->pw_passwd, "") == 0)
+       if (strcmp(pw_password, "") == 0 && strcmp(password, "") == 0)
                return ok;
        else {
                /* Encrypt the candidate password using the proper salt. */
This page took 0.175117 seconds and 4 git commands to generate.