win: hide not just passwords but also passphrases
R=rsc, nicolesimons1986 CC=plan9port.codebot http://codereview.appspot.com/4957042
This commit is contained in:
parent
b6863de7e1
commit
13666ca73e
1 changed files with 1 additions and 1 deletions
|
|
@ -541,7 +541,7 @@ stdoutproc(void *v)
|
||||||
// clumsy but effective: notice password
|
// clumsy but effective: notice password
|
||||||
// prompts so we can disable echo.
|
// prompts so we can disable echo.
|
||||||
password = 0;
|
password = 0;
|
||||||
if(cistrstr(buf, "password")) {
|
if(cistrstr(buf, "password") || cistrstr(buf, "passphrase")) {
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
i = n;
|
i = n;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue