Fix compilation for non PAM/BSD auth/AIX auth

This commit is contained in:
Todd C. Miller
2010-05-19 11:40:46 -04:00
parent 0eec7335af
commit d2b8bad2a5

View File

@@ -178,8 +178,8 @@ verify_user(struct passwd *pw, char *prompt)
goto cleanup;
}
#ifndef AUTH_STANDALONE
if (repl.reply)
zero_bytes(p, strlen(repl.reply));
if (p)
zero_bytes(p, strlen(p));
#endif
/* XXX - need way to know if askpass was used */
//if (!ISSET(tgetpass_flags, TGP_ASKPASS))